In most cases you no longer need to disable IPv6 manually. While connected, the NordLayer application automatically blocks IPv6 traffic to prevent leaks, and restores it again when you disconnect. The steps below are only needed if you want to disable IPv6 system-wide for troubleshooting or to satisfy a specific requirement of your own.
IPv6 is the newer version of the Internet Protocol used to address devices on a network. On some setups, leftover IPv6 configuration can interfere with VPN routing or cause traffic to bypass the tunnel — known as an IPv6 leak. NordLayer handles this for you automatically while connected, but if you would still prefer to turn IPv6 off across your whole system, this guide shows how to do it on a Linux operating system.
- Open the Terminal using the
Ctrl+Alt+Tkeyboard shortcut and enter:
sudo nano /etc/sysctl.conf
This opens the sysctl.conf file.
- Scroll to the bottom of the file and add these lines:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Save the changes by pressing Ctrl+O, then exit with Ctrl+X.
- Apply the changes:
sudo sysctl -p
- Check the status of IPv6:
sudo cat /proc/sys/net/ipv6/conf/all/disable_ipv6
If the reply is 1, IPv6 is disabled on your device.
If you previously added a line for a specific VPN interface (for example
net.ipv6.conf.tun0.disable_ipv6), note that the NordLayer interfaces are nownlx0(NordLynx) andovpn0(OpenVPN). Disabling IPv6 on the interfaces above (all/default) already covers them.
Note: In case you have any questions or are experiencing any issues, please feel free to contact our 24/7 customer support team.