IPv6 or Internet Protocol Version 6 was designed to take the place of IPv4. However, it comes with existing IP options for customizing your VPN. Therefore, disabling IPv6 might be a good first step toward a solid setup with better speed. To effectively disable IPv6 on Linux, follow the instructions below.
- Using the Ctrl+Alt+T keyboard shortcut, open the Terminal.
- Enter this sudo nano /etc/sysctl.conf command in the Terminal window.
- The above command will open a conf file in the Terminal.
- Copy and paste the below lines at the bottom of the conf file.
ipv6.conf.all.disable_ipv6 = 1 ipv6.conf.default.disable_ipv6 = 1 ipv6.conf.lo.disable_ipv6 = 1 ipv6.conf.tun0.disable_ipv6 = 1
- After that, press Ctrl+O and Ctrl+X to save the changes.
- Use sudo sysctl -p in the conf file to apply the modifications.
- Enter this sudo cat /proc/sys/net/ipv6/conf/all/disable_ipv6 command in the Terminal to check the status of IPv6.
- If you get one as a response, you have disabled IPv6 on your Linux device.
- Once you are done with the steps, you’ve successfully disabled IPv6 on your Linux.
In case the troubleshooting tips fail, simply take a screenshot and submit your concerns to our customer support team via live chat or email to have your problem resolved sooner!