this tutorial is how to disable ipv6 on linux, for the first go to /etc/sysctl.conf and add the following script:
Now run following command:
sudo nano /etc/sysctl.conf and add following lines
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Disable IPv6 Permantly. |
sudo sysctl -p
then your ipv6 automatically disabled by sysctl, to open it again simply delete the script above and do update sysctl back :)