Ubuntu 14.04 Disable IPv6
How to disable IPv6 in ubuntu 14.04/12.04
Edit /etc/sysctl.conf by nano/vim/gedit as sudo privileged mode
sudo nano /etc/sysctl.conf
and add the below lines at the end
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1
and save the file and exit.
Execute the below command to update the latest
sudo sysctl -p
If you exexute " cat /proc/sys/net/ipv6/conf/all/disable_ipv6", you should get value 1. If you get 1, then IPv6 is disabled!
No comments