1.查看防火墙状态
systemctl status firewalld.service
2.开启防火墙
systemctl disable firewalld.service
3.关闭防火墙
systemctl stop firewalld.service
4.停止开机自启动防火墙
systemctl disable firewalld.service
5.设置开机自启动防火墙
systemctl enable firewalld.service
6.重新启动防火墙
systemctl restart firewalld.service