this post was submitted on 24 Aug 2023
70 points (98.6% liked)

Linux

48200 readers
1035 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] 30021190@lemmy.cloud.aboutcher.co.uk 33 points 1 year ago (7 children)

The bad practise would be to entirely disable IPv6. #ShittySysAdmin

[–] empireOfLove@lemmy.one 24 points 1 year ago* (last edited 1 year ago) (1 children)

Broke: disabling ipv6 because it's causing security holes with software not originally built for it

Woke: disabling ipv6 because hex ip strings are too hard to type

[–] 3laws@lemmy.world 12 points 1 year ago* (last edited 1 year ago) (2 children)

Honest to Tux, I've never memorized a single IPv6 since its public release; ever.

[–] nothacking@discuss.tchncs.de 14 points 1 year ago

Well I memorized mine: ::1

[–] empireOfLove@lemmy.one 2 points 1 year ago

Me either. I have a text file on the desktop that I use to copy paste the loopback address on the rare rare times I actually need it lul

[–] 3laws@lemmy.world 8 points 1 year ago* (last edited 1 year ago)

The whole Silicon Valley, governments and economic infrastructure of the world hang by a thread made of bootleg shortcuts.

[–] Molecular0079@lemmy.world 6 points 1 year ago (1 children)

Haha, yeah that's what ProtonVPN support recommended to me and I am not sure if I want to disable IPv6 globally like that. I feel (with my inexperienced brain) that there's gotta be a way to do it on a per connection basis.

Maybe try forcing only IPv4 connections for the traffic you want to keep private?

Your biggest leak maybe IPv6 DNS which is probably not that big of a deal really...

[–] dack@lemmy.world 2 points 1 year ago (1 children)

In this case, disabling IPv6 is actually the right move. If the VPN provider doesn't support IPv6, then there's no way to allow to allow IPv6 Internet traffic without causing a leak/VPN bypass. If you block IPv6 via firewall or routing it to a dead-end, it will add delays as things try IPv6, timeout, and fall back to IPv4. If you just remove the IPv6 address from the Internet interface, you have to also make sure it doesn't get re-added by SLAAC/DHCPv6 or other interface changes (switching wifi networks, etc). As dumb as it seems, disabling IPv6 or switching to a provider that supports it are probably the best options.

[–] p1mrx@sh.itjust.works 5 points 1 year ago* (last edited 1 year ago) (1 children)

In this case, disabling IPv6 is actually the right move. If the VPN provider doesn’t support IPv6, then there’s no way to allow to allow IPv6 Internet traffic without causing a leak/VPN bypass.

The right move for the VPN provider is to support IPv6. The right move for the user is to take their business to a provider that does.

[–] dack@lemmy.world 1 points 1 year ago

Yes, I agree - using a VPN that supports IPv6 is preferred. If they don't want to/can't change providers, then disabling IPv6 is the best way to prevent IPv6 leaks without negatively affecting network performance.

[–] dotdotdot@kerala.party 2 points 1 year ago

I do the same, but would like to know the correct way to hide ipv6

Unironically that's one thing we do to anonymize traffic at work. We could do NAT via IPV6 but what's the point when IPV4 already helps mask who is doing what in the office.

[–] Engywuck@lemm.ee -5 points 1 year ago* (last edited 1 year ago)

IPv6 is broken by design /s.