查看:firewall-cmd --state
停止:systemctl stop firewalld.service
设置开机启动:systemctl enable firewalld.service
防火墙开启特定端口 :firewall-cmd --zone=public --add-port=2888/tcp --permanent
开启特定端口后刷新防火墙:firewall-cmd --reload
防火墙关闭已开启的特定端口:firewall-cmd --zone=public --remove-port=2888/tcp --permanent
查看防火墙开启特定端口 :firewall-cmd --list-ports
738

被折叠的 条评论
为什么被折叠?



