Centos6 關閉IPV6

編輯 /etc/modprobe.d/dist.conf 文件增加如下內容:

alias net-pf-10 off
options ipv6 disable=1

編輯 /etc/sysconfig/network 增加內容:

NETWORKING_IPV6=no

關閉ip6tables

chkconfig ip6tables off
reboot

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章