systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
systemctl start firewalld.service
firewall-cmd --state #查看默认防火墙状态 关闭后显示notrunning,开启后显示running
原文地址:https://www.cnblogs.com/wuhl-89/p/9054681.html
时间: 2024-10-10 09:35:55