CentOS7中禁用IPV6

helps from:

  • https://linux.cn/article-4935-1.html
vi /etc/sysctl.conf
  net.ipv6.conf.all.disable_ipv6 = 1
  net.ipv6.conf.default.disable_ipv6 = 1
sysctl -p

P.S

posted @ 2016-04-06 01:50  flowjacky  阅读(715)  评论(0编辑  收藏  举报