Disable IPv6 in Linux

From Knowledge Center
Jump to: navigation, search

Debian

Disabling IPv6 in Ubuntu:

vi /etc/default/grub

Modify the GRUB_CMDLINEs to look like:

GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"
GRUB_CMDLINE_LINUX="ipv6.disable=1"

Then run:

sudo update-grub
sudo reboot