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?

You are viewing a single thread.
View all comments View context
0 points

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.

permalink
report
parent
reply
3 points

ipv4 with an extra octet

that was proposed as “IPv4.1” on April 1, 2011: https://web.archive.org/web/20110404094446/http://packetlife.net/blog/2011/apr/1/alternative-ipv6-works/

permalink
report
parent
reply
2 points

Hmm, how about we have public facing IPv6 to gateway and then NAT to IPv4 internally. I wouldn’t have a problem with it then. In general I wouldn’t even have a problem with IPv6 or v8 or whatever even internally as long as we’ll always have NAT.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.7K

    Monthly active users

  • 6.5K

    Posts

  • 179K

    Comments