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 the AllowedIPs option and IPv6 is listed as disabled in the NetworkManager profile.

  • Dropping all IPv6 packets would cause problems but if you only drop the packets destined for the internet you should be fine, I believe. You may also need to configure your DNS to prefer A records over AAAA, though, but if your VPN only supports IPv4 I assume your VPN’s DNS server doesn’t accept AAAA queries.