l-n-s / wireguard-install

WireGuard VPN server installer
MIT License
658 stars 166 forks source link

allow IPv6 #2

Closed xtavras closed 5 years ago

xtavras commented 5 years ago

Wildcard IPv6 addresses, otherwise your IPv6 address from ISP will be visible and not VPNs remote.

l-n-s commented 5 years ago

Yeah, that's a good point you made. What else needs to be done for a full IPv6 support? I just can't test it right now.

xtavras commented 5 years ago

I'm not sure what is needed for full support. Basically this option does not expose your IPv6 from provider (if he uses IPv6)

Example.

Without option.

curl ifconfig.co                                                                                                           19:44:03 
2003:e0:e71f:8b00:f8ec:7835:8f10:e951

it's IPv6 address of my ISP, so IP of my home internet connection.

With option

curl ifconfig.co  
1.2.3.4

where 1.2.3.4 is IP address of my VPN server. This is what you want normally if you use VPN :-)

ghost commented 5 years ago

I have this running in Digital ocean and we'll ipv6 isn't even working while I have ipv6 enabled both on server and peer