To turn off IPv6 in a live Ubuntu, use…

To turn off IPv6 in a live Ubuntu, use: sysctl -w net.ipv6.conf.all.disable_ipv6=1

Check with: cat /proc/sys/net/ipv6/conf/all/disable_ipv6

This entry was posted in Tweets. Bookmark the permalink.

One Response to To turn off IPv6 in a live Ubuntu, use…

  1. richard says:

    You can make this method of disabling IPv6 usage in GNU Linux based operating systems (Debian, Ubuntu and others) by putting the following into the /etc/sysctl.conf file:

    net.ipv6.conf.all.disable_ipv6 = 1

    Then either reboot or run ‘sysctl -a’ as root to enact it immediately via the sysctl.conf file entry.
    FYI,
    Richard.

Comments are closed.