#添加端口:
firewall-cmd --zone=public --add-port=50000/tcp —permanent
重载:
firewall-cmd --reload
#查看状态
firewall-cmd --state
systemctl status firewalld.service
#关闭开机启动
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动