IPv6 inside WireGuard tunnel
Allow users access to the IPv6 internet after they connect to the WireGuard VPN.
In current clients, WireGuard [Interface]
is only configured with IPv4 address.
By adding IPv6 address in the client config, VPN tunnel will have IPv6 traffic as well, when connected to gateway which support IPv6.
Example client config:
[Interface]
Address = 192.0.2.0,2001:0db8:0:0::2001:0db8/64
ListenPort = 51820
PrivateKey = <PrivateKey>
DNS = 198.51.100.0
[Peer]
PublicKey = <PublicKey>
AllowedIPs = 0.0.0.0/0,::/0
Endpoint = 203.0.113.0:2049
PersistentKeepalive = 25
There should be an option in the app settings that enables IPv6 inside VPN tunnel, which is off by default.
Please sign in to leave a comment.