🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
--- #### **防火墙** 查看防火墙状态 ``` systemctl status firewalld ``` 开启防火墙 ``` systemctl start firewalld ``` 关闭防火墙 ``` systemctl stop firewalld ``` 查看当前firewall状态 ``` systemctl status firewalld firewall-cmd --state ``` 重启firewall ``` firewall-cmd --reload ``` 禁止开机启动 ``` systemctl disable firewalld.service ``` 查看已经开放的端口 ``` firewall-cmd --list-ports ``` 开启端口 ``` firewall-cmd --zone=public --add-port=80/tcp --permanent ```