1.查看防火墙状态
firewall-cmd --state
2.启动防火墙
systemctl start firewalld.service
3.关闭防火墙
systemctl stop firewalld.service
4.禁止firewall开机启动
systemctl disable firewalld.service