centOS 7防火墙
(1) 查询防火墙状态:firewall-cmd --state
关闭防火墙:systemctl stop firewalld.service开启防火墙: systemctl start firewalld.service
(2) 禁止firewall开机启动:systemctl disable firewalld.service(1) 查询防火墙状态:firewall-cmd --state
关闭防火墙:systemctl stop firewalld.service开启防火墙: systemctl start firewalld.service
(2) 禁止firewall开机启动:systemctl disable firewalld.service