防火墙
systemctl status firewalld #查看防火墙状态
systemctl stop firewalld #关闭防火墙
systemctl disable firewalld#关闭防火墙开机启动
systemctl is-enabled firewalld.service#检查防火墙是否启动
firewall-cmd --list-ports查看哪些端口打开
firewall-cmd --permanent --zone=public --add-port=8080/tcp #开放8080端口
systemctl reload firewalld # 重启防火墙
标签:--,firewalld,防火墙,命令,systemctl,linux,相关,firewall
From: https://www.cnblogs.com/fuminer/p/16939341.html