Skip to content

Instantly share code, notes, and snippets.

@gallegogt
Created May 27, 2021 20:58
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 gallegogt/d12743acde0af32732b6d219d01dede2 to your computer and use it in GitHub Desktop.
Save gallegogt/d12743acde0af32732b6d219d01dede2 to your computer and use it in GitHub Desktop.
WireGuard Client Config
[Interface]
Address = 10.5.0.3/24
DNS = 10.5.0.1
ListenPort = 16200
MTU = 1280
PrivateKey = <CLIENT_N-PRIVATE_KEY>
[Peer]
AllowedIPs = 0.0.0.0/0
Endpoint = <PUBLIC_SERVER_ADDRESS>:54321
PersistentKeepalive = 25
PresharedKey = <CLIENT_N-SERVER PRESHARED_KEY>
PublicKey = <SERVER_PUBLIC_KEY>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment