關閉IPv6

How to turn off IPv6

edit /etc/sysctl.conf

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

and run

 sysctl -p

to activate changes or reboot system.

https://wiki.debian.org/DebianIPv6#How_to_turn_off_IPv6

Comments