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?

  • corsicanguppy@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    3 months ago

    I keep hoping someone will come up with a half-measure that looks like ipv4 with an extra octet and writable in hex.

    • Let people stew a bit on their 00c0a8011f IP which is like a 192.168.1.31 IP.
    • increment the big number. Oh shit, we’ve got lots.
    • repeat
    • start adding the cool parts of ipv6
    • moar
    • add a 00 to the end that old shit just skips
    • somewhere in there, switch the engine

    We can either take yeeeears to do it well, or we can take more decades to try and big-bang it. This ain’t 1983.