[root@lhc ~]# /etc/init.d/iptables stop (临时关闭)
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Firewall is not running.
[root@lhc ~]#
[root@lhc ~]# chkconfig iptables off (永久关闭,重启后不开启)
[root@lhc ~]#
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
[root@lhc ~]# /etc/init.d/iptables statusiptables: Firewall is not running.
[root@lhc ~]#
[root@lhc ~]# chkconfig iptables off (永久关闭,重启后不开启)
[root@lhc ~]#