How to Disable IPv6
Tutorial on Turning off IPv6 for Linux
Should not need this
As per version 2.1.0 in January 2026, IPv6 Leaks should be protected WITHOUT requiring IPv6 to be disabled.
Test
But it’s important to note that this protection feature is experimental and you should test via any IP testing website. If you still need/want to disable IPv6, here’s the guide.
How to Disable IPv6 on Linux IF you want to.
Step 1:
Open config file:
sudo nano /etc/sysctl.conf
Step 2.
Add this to the end of the Config file:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.wg0.disable_ipv6 = 1
Step 3.
Save the File
First hit Control + X. Then “Y” and enter to save it.
Step 4. Reload
You may or may not need to do this step, depending on your exact setup:
sudo sysctl -p
Step 5. Test
Test it:
If you really want to learn and take your privacy to the next level, Learn about HydraVeil, Access our VPN, and subscribe to our new content via: Arweave Video RSS, Podcast RSS, Session list, Nostr, Bastyon, Article RSS, or join the Signal Group
Related Posts
It takes a lot to admit you're wrong
But that's what I'm doing today. (v-2-1-1 release)
[SP]
Jan 9, 2026
First Community Node: Chile with CypherPink
v2.0.2 Release! First South America Location.
[SP]
Jan 3, 2026
Why a Nostr VPN?!
How should node operators identify themselves?
[SP]
Dec 17, 2025
Release Notes: HydraVeil v2
Nostr Operators, No-Sudo Systemwide, & More.
[SP]
Dec 17, 2025