Skip to content

Instantly share code, notes, and snippets.

@tetranz

tetranz/wg0.conf Secret

Created November 14, 2020 01:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tetranz/247e39b7e6dc6c489cb7f0f58bcabdc1 to your computer and use it in GitHub Desktop.
Save tetranz/247e39b7e6dc6c489cb7f0f58bcabdc1 to your computer and use it in GitHub Desktop.
[Interface]
PrivateKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Address = 100.66.194.82/32
DNS = 10.255.255.2
PostUp = /usr/local/bin/wireguard-up.sh
PostDown = /usr/local/bin/wireguard-down.sh
[Peer]
PublicKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AllowedIPs = 0.0.0.0/0
Endpoint = abc-99-wg.whiskergalaxy.com:1194
PresharedKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment