CentOS7.5查看防火墙状态,启动,关闭防火墙
时间:2019-01-14 17:20 来源:linux.it.net.cn 作者:IT
查看防火墙状态
firewall-cmd --state
停止firewall
systemctl stop firewalld.service
启动firewall
禁止firewall开机启动
systemctl disable firewalld.service
(责任编辑:IT)
查看防火墙状态
firewall-cmd --state
停止firewall
systemctl stop firewalld.service
启动firewall
禁止firewall开机启动
systemctl disable firewalld.service
(责任编辑:IT) |