I was setting up my laptop for traveling and adding Wireguard VPN configuration.

The Wireguard config generated by router only contains IPv4 address (10.0.5.x), and while testing the VPN to my surprise “what is my ip” websites can find my IPv6 address (I USB tethered mobile connection to my laptop).

It looks like NetworkManager does nothing about IPv6 connection if VPN doesn’t have IPv6 settings, which is bad for road warrior type of VPN configuration.

Is there an easy toggle to turn of IPv6 if VPN is connected and otherwise? Or is only option to disable all IPv6 no matter what?

  • Supermariofan67@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    Or you could just… learn to use the modern internet that 60% of internet traffic uses? Not everyone has a dedicated IPv4 anymore, we are in the days of mobile networks and CGNAT. IPv4 exhaustion is here today.

    • LainTrain@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 month ago

      Yikes. By most internet traffic you mean Chinese bots yeah?

      Yeah I’ll stay behind my one NAT instead of six godzillion firewalls thanks.

    • Arthur Besse@lemmy.mlM
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      Or you could just… learn to use the modern internet that 60% of internet traffic uses? Not everyone has a dedicated IPv4 anymore, we are in the days of mobile networks and CGNAT. IPv4 exhaustion is here today.

      Where are you getting 60%? Google’s IPv6 Adoption page has it under 50% still:

      Screenshot of Google saying "IPv6 Adoption / We are continuously measuring the availability of IPv6 connectivity among Google users. The graph shows the percentage of users that access Google over IPv6." with a graph climbing from near 0% in 2008 to 45% in September 2024

      (while other stats pages from big CDNs show even less)

      • Supermariofan67@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        Huh, I misremembered then. I stand corrected.

        Notable though that there are specific countries (such as India) where adoption is far higher at 72%

    • LainTrain@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      Idk why my comment was removed. I just said most internet traffic is chinese bots which are not sentient so they’re okay with using IPv6 instead of IPv4 like people do.

      IPv4 exhaustion is ofc a problem. But IPv6 discarding NAT is like throwing the baby out with the bathwater.