cross-posted from: https://lemmy.world/post/3754933
While experimenting with ProtonVPN’s Wireguard configs, I realized that my real IPv6 address was leaking while IPv4 was correctly going through the tunnel. How do I prevent this from happening?
I’ve already tried adding
::/0
to theAllowedIPs
option and IPv6 is listed as disabled in the NetworkManager profile.
My ISP doesn’t even support IPv6
My country doesn’t really support IPv6.
Vodafone gang!
You can either route IPv6 through the tunnel, or if the tunnel doesn’t support it, you have to block it somehow if you don’t want it going out to the Internet. You can do that by creating a firewall rule to block it on your host or network, or by disabling IPv6 entirely at the host or network level.
You can either route IPv6 through the tunnel
That’s what I am trying to do with the
::/0
option but it doesn’t seem to work. I am guessing because the tunnel itself doesn’t have IPv6?
Just disable IPv6, if you don’t wanna, try a configuration tool like PiVPN, which can setup wireguard automatically
I just disable ipv6 on my router to simply my firewall and such… Won’t use it until necessary
Using networking namespaces may be an option https://gist.github.com/zenofile/d3ada8a1becb8c88aadffa68cdb18350