新增端口访问
firewall-cmd --permanent --add-port=8080/tcp
重启防火墙`
systemctl restart firewalld.service
其他
关闭防火墙
systemctl stop firewalld.service
开启防火墙
systemctl start firewalld.service
防火墙开机启动
systemctl enable firewalld.service
防火墙关闭开机启动
systemctl disable firewalld.service
标签:service,firewalld,常用命令,防火墙,备忘,systemctl,linux
From: https://www.cnblogs.com/cgengwei/p/16774495.html