Linux 關閉iptable防火牆

  做爲初學者使用Linux時都會關閉自帶的防火牆。

下面是操作過程以Centos6.5爲例:

[root@zdw ~]# /etc/init.d/iptables stop         //關閉
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Unloading modules:                               [  OK  ]
[root@zdw ~]# /etc/init.d/iptables stop         //重複執行確認關閉
[root@zdw ~]# chkconfig iptables off            //關閉開機自啓動,3表示文本模式
[root@zdw ~]# chkconfig --list|grep ipta
iptables        0:off   1:off   2:off   3:off   4:off   5:off   6:off


參考:

老男孩Linux

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