Created
May 31, 2019 15:28
-
-
Save whiskerz007/e007f90fa05b8dc1fa6d69251b531070 to your computer and use it in GitHub Desktop.
WireGuard interface from IPv6 network
This file contains hidden or 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
1. Goto https://simpledns.com/private-ipv6 | |
2. Use the 'Combined/CID' for the WireGuard settings (everything before the '/64' starting with 'fd' and ending with '::') | |
3. Example WireGuard 'server' settings (replace all sections that begin with '<' and end with '>') | |
[Interface] | |
ListenPort = 51820 | |
PrivateKey = <SERVER_PRIVATE_KEY> | |
Address = 192.168.99.1/24, <IPV6_CID>1/64 | |
[Peer] | |
PublicKey = <CLIENT_PUBLIC_KEY> | |
AllowedIPs = 192.168.99.2/32, <IPV6_CID>2/128 | |
4. Example WireGuard 'client' settings (replace all sections that begin with '<' and end with '>') | |
[Interface] | |
PrivateKey = <CLIENT_PRIVATE_KEY> | |
Address = 192.168.99.2/24, <IPV6_CID>2/64 | |
[Peer] | |
PublicKey = <SERVER_PUBLIC_KEY> | |
AllowedIPs = 0.0.0.0/0, ::/0 | |
Endpoint = <SERVER_IP_ADDRESS>:51820 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment