- 关闭防火墙
service iptables stop
- 启动防火墙
service iptables start
- 重启防火墙
service iptables restart
- 查看防火墙状态
service iptables status
- 永久关闭防火墙
chkconfig iptables off
- 永久关闭后启用
chkconfig iptables on
service iptables stop
service iptables start
service iptables restart
service iptables status
chkconfig iptables off
chkconfig iptables on