Created
March 18, 2023 11:54
-
-
Save mortn/8f007ee4cd606ecd5248747ae174e242 to your computer and use it in GitHub Desktop.
Wireguard client configuration example
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
[Interface] | |
PrivateKey = [local private key] | |
Address = [local IP matching what may be assigned on remote peer]/32 | |
#DNS = [IP of remote DNS service if needed] | |
#PostUp = ip r add 172.12.0.0/22 dev wg0 | |
#PostDown = ip r del 172.12.0.0/22 | |
[Peer] | |
PublicKey = [remote peer public key] | |
AllowedIPs = [remote CIDR block] | |
Endpoint = [remote peer public IP]:51820 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment