Skip to content

Instantly share code, notes, and snippets.

@vkartk
Created October 21, 2024 15:53
Show Gist options
  • Select an option

  • Save vkartk/7e7e66866b991225b4c8a374c7003955 to your computer and use it in GitHub Desktop.

Select an option

Save vkartk/7e7e66866b991225b4c8a374c7003955 to your computer and use it in GitHub Desktop.
Sample WireGuard configuration
[Interface]
PrivateKey = YOUR_PRIVATE_KEY
Address = 10.0.0.2/24
DNS = 1.1.1.1, 1.0.0.1
[Peer]
PublicKey = YOUR_SERVER_PUBLIC_KEY
AllowedIPs = 0.0.0.0/0
Endpoint = YOUR_SERVER_WAN_IP:51820
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment