chkconfig iptables off 关闭
chkconfig iptables on 开启
chkconfig iptables --level 345 off 在运行级别345关闭防火墙
chkconfig --list |grep iptables 查看各级别防火墙的运行状态
service iptables stop 关闭防火墙(重启失效)
service iptables start 开启防火墙(重启失效)
chkconfig iptables off 关闭
chkconfig iptables on 开启
chkconfig iptables --level 345 off 在运行级别345关闭防火墙
chkconfig --list |grep iptables 查看各级别防火墙的运行状态
service iptables stop 关闭防火墙(重启失效)
service iptables start 开启防火墙(重启失效)