At the moment Surfshark does not support IPv6, therefore sometimes users can experience issues with connection or leaks that are related specifically to IPv6.
If you are certain that you need to disable IPv6, here are a few simple steps on how to do it.
- Open the Terminal (Ctrl+Alt+T) and enter this command: sudo nano /etc/sysctl.conf
- Scroll down to the bottom of the window and paste these lines:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.tun0.disable_ipv6 = 1
Save the changes by pressing Ctrl+O and Ctrl+X after that.
- To apply the changes, enter this command to the Terminal: sudo sysctl -p
- Finally, to check if IPv6 was disabled successfully, enter this line to the Terminal:
sudo cat /proc/sys/net/ipv6/conf/all/disable_ipv6
If you can see 1 after that - success!
And there you have it. IPv6 was disabled and you can continue surfing the web with Surfshark!