Just disable IPv6, if you don't wanna, try a configuration tool like PiVPN, which can setup wireguard automatically
Linux
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
I just disable ipv6 on my router to simply my firewall and such.... Won't use it until necessary
This is a real backwards approach to this.
Why? I don't miss anything
You're missing a chance to help cool tech moving forward :)
Wireguard easily supports dual stack configuration on a single interface, but the VPN server must also have IPv6 enabled. I use AirVPN and I get both IPv6 and IPv4 with a single wireguard tunnel. In addition to the ::/0 route you also need a static IPv6 address for the wireguard interface. This address must be provided to you by ProtonVPN.
If that's not possible, the only solution is to entirely disable IPv6.
The bad practise would be to entirely disable IPv6. #ShittySysAdmin
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
IPv6 is broken by design /s.
IPv4 and IPv6 are two different network stacks. Your IPv4 stack is hidden behind wireguard, but not the IPv6 one.
The correct way to fix your issue is to setup a second witeguard tunnel for IPv6, and route IPv6 traffic through it.
Edit: many comments advise to block outbound IPv6 traffic. Don't do that! It will add latency to all your requests as you will have to wait for them to timeout.
If you disable IPv6 at the kernel level there's no extra latency as nothing even tries to connect to an IPv6 address. It's a shame to have to do it, but does fix the issue.
My ISP doesn't even support IPv6
Time to get a better ISP
I use a magisk module to disable ipv6
decreasing security for a... privacy(?) increase 🤔
We're not talking about privacy in that context here
We're trying to patch a leaking ipv6 which I gave my solution to.
Don't use it if you don't like it lmao
I suppose but my point was that rooting your device decreases security immensely via crippling the android security model.
That is true... but it's always about your threat model
Here, the ipv6 leaks are the priority