Created
May 17, 2020 07:18
-
-
Save leoh0/837e0e296ed4d8a73d192ba29a327cbb to your computer and use it in GitHub Desktop.
warp 용 wireguard 맥용 가이드
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# wireguard 설치 | |
brew install wireguard-tools | |
# wgcf 설치 | |
wget https://github.com/ViRb3/wgcf/releases/download/v1.0.6/wgcf_1.0.6_darwin_amd64 | |
chmod +x wgcf_1.0.6_darwin_amd64 | |
mv wgcf_1.0.6_darwin_amd64 /usr/local/bin/wgcf | |
# wgcf 로 wg to cf 컨피그 생성 | |
mkdir -p /usr/local/etc/wireguard | |
cd /usr/local/etc/wireguard | |
wgcf register --accept-tos | |
wgcf generate | |
# wg 로 연결 | |
sudo wg-quick up wgcf-profile | |
# wg 상태 확인 | |
sudo wg | |
# wg 로 연결 제거 | |
sudo wg-quick down wgcf-profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment