1.  首页
  2.  博客
  3. Ubuntu Server 10.04 disable ipv6

Ubuntu Server 10.04 disable ipv6


Ubuntu disable ipv6

cat << EOF >> /etc/sysctl.conf
#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
EOF
sysctl -p

评论 0