service iptables status 查看当前防火墙状态

centOS关闭防火墙

临时关闭防火墙service iptables stop

centOS关闭防火墙

查看防火墙开机的状态chkconfig iptables --list

centOS关闭防火墙

上面7种级别的含义

centOS关闭防火墙

开机也关闭所有防火墙chkconfig iptables off

centOS关闭防火墙

开机开启防火墙chkconfig iptables on

centOS关闭防火墙

相关文章: