安装与卸载 1.卸载firewall防火墙,如果不知道firewall的具体安装的报名,采用如下方式卸载: yum -y remove firewall* 2.同样,安装firewall防火墙可用命令: yum -y install firewall*

锁定和解锁 1.锁定防火墙服务 systemctl mask firewalld.sercice 2.解锁防火墙服务 systemctl unmask firewalld.service

centos7防火墙firewall操作 1.关闭防火墙:systemctl stop firewalld.service 2.打开防火墙:**systemctl start firewalld.service ** centos7防火墙iptables操作 1.centos7中iptables防火墙配置文件位置:/etc/sysconfig/iptables-config

centos7如果安装提供service命令的软件initscripts(即yum -y install initscripts),iptables软件的一部分(不包含服务)作为依赖会被自动安装的;