天天看點

Linux 關閉iptable防火牆

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

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

<code>[root@zdw ~]</code><code># /etc/init.d/iptables stop         //關閉</code>

<code>iptables: Setting chains to policy ACCEPT: filter          [  OK  ]</code>

<code>iptables: Flushing firewall rules:                         [  OK  ]</code>

<code>iptables: Unloading modules:                               [  OK  ]</code>

<code>[root@zdw ~]</code><code># /etc/init.d/iptables stop         //重複執行确認關閉</code>

<code>[root@zdw ~]</code><code># chkconfig iptables off            //關閉開機自啟動,3表示文本模式</code>

<code>[root@zdw ~]</code><code># chkconfig --list|grep ipta</code>

<code>iptables        0:off   1:off   2:off   3:off   4:off   5:off   6:off</code>

      本文轉自cix123  51CTO部落格,原文連結:http://blog.51cto.com/zhaodongwei/1762526,如需轉載請自行聯系原作者

繼續閱讀