添加80端口 重启后永久生效
firewall-cmd --zone=public --add-port=80/tcp --permanent
查看防火墙状态
systemctl status firewalld.service
启动防火墙
systemctl start firewalld.service
关闭防火墙
systemctl stop firewalld.service
重启防火墙
systemctl restart firewalld.service
禁用防火墙 、 禁止防火墙开机启动
systemctl disable firewalld.service