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.

  • @Molecular0079OP
    link
    English
    3
    edit-2
    1 year ago

    Thanks for the suggestion! It gave me the idea to try setting the connection profile’s IPv6 setting to either Link Local or Ignored. Both those options, along with the ::/0 in AllowedIPs, seem to work according to ipleak.net, but I am unsure what the bigger ramifications of this change are.

    • Max-P
      link
      fedilink
      31 year ago

      It’s going to still send that IPv6 traffic through the tunnel and get discarded at the other end but that’s about it. You can firewall that off if you want, ideally with a reject rule so things don’t have to timeout before realizing it goes nowhere.