GRUB_CMDLINE_LINUX="ipv6.disable=1"
Run update-grub and reboot.
or better,
edit /etc/sysctl.conf and add those parameters to kernel. Also be sure to add extra lines for other network interfaces you want to disable IPv6.
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
After editing sysctl.conf, you should run sysctl -p to activate changes or reboot system.
Reference:
https://wiki.debian.org/DebianIPv6
No comments:
Post a Comment