配置目录
/etc/firewalld/
添加端口
firewall-cmd --permanent --add-port=9527/tcp
移除端口
firewall-cmd --permanent --remove-port=9527/tcp
查看防火墙规则
firewall-cmd --list-all
systemctl restart firewalld #重启
systemctl start firewalld #开启
systemctl stop firewalld #关闭
systemctl status firewalld #查看状态