查看默认防火墙状态
firewall-cmd --state
(关闭后显示notrunning,开启后显示running)
停止firewall
systemctl stop firewalld.service
禁止firewall开机启动
systemctl disable firewalld.service
重启firewall
firewall-cmd --reload
firewall-cmd --state
(关闭后显示notrunning,开启后显示running)
systemctl stop firewalld.service
systemctl disable firewalld.service
firewall-cmd --reload
本文标题:[Linux] 防火墙设置
本文链接:https://www.haomeiwen.com/subject/pwjwrqtx.html
网友评论