Skip to content

Instantly share code, notes, and snippets.

@darrenkearney
Created April 16, 2019 14:40
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 darrenkearney/a18f2603b78f187c33933f60a59f0d5c to your computer and use it in GitHub Desktop.
Save darrenkearney/a18f2603b78f187c33933f60a59f0d5c to your computer and use it in GitHub Desktop.
Example Wireguard Configuration - Client Interface
# This machines' local Wireguard interface
[Interface]
Address = xx.xx.xx.xx/24
PrivateKey = <client's generated private key>
SaveConfig = true
# The remove server which acts as the VPN Gateway
[Peer]
PublicKey = <server's generated public key>
AllowedIPs = xx.xx.xx.xx/24
Endpoint = xx.xx.xx.xx
PersistentKeepalive = 25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment