Skip to main content

Posts

Showing posts from September, 2014

How To Disable IPV6 in Ubuntu

I want to  disable  ipv6  in my Ubuntu Server. First, I open  /etc/sysctl.conf  using  text editor. $ sudo nano /etc/sysctl.conf Then I  insert these following 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 After that, I save the file using Ctrl+O and exit from text editor using Ctrl+X. On terminal, I type this command  $ sudo sysctl -p I get result in terminal as, net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 After that when I check, $ cat /proc/sys/net/ipv6/conf/all/disable_ipv6 I get result as, 1 From the result, I know my  ipv6 disabled  successfully.