MENU

系统内关闭ipv6功能

August 15, 2017 • Read: 46 • 各种资源

echo 'net.ipv6.conf.all.disable_ipv6 = 1' >>/etc/sysctl.conf
echo 'net.ipv6.conf.default.disable_ipv6 = 1' >>/etc/sysctl.conf
sysctl -p
Tags: etc, echo, sctl, nfsy, ult