开启防火墙 systemctl start firewalld.service 防火墙开机启动 systemctl enable firewalld.service 关闭防火墙 systemctl stop firewalld.service 查看防火墙状态 firewall-cmd --state 查看现有的规则 iptables -nL firewall-cmd --zone=public --list-ports 重载防火墙配置 firewall-cmd --reload 添加单个单端口 firewall-c…