Skip to content

Instantly share code, notes, and snippets.

@leoh0
Created May 17, 2020 07:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leoh0/837e0e296ed4d8a73d192ba29a327cbb to your computer and use it in GitHub Desktop.
Save leoh0/837e0e296ed4d8a73d192ba29a327cbb to your computer and use it in GitHub Desktop.
warp 용 wireguard 맥용 가이드
# 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