CentOS7查看和关闭防火墙

2019-05-29  本文已影响0人  哎哟我去

CentOS 7.0默认使用的是firewall作为防火墙

查看防火墙状态:

firewall-cmd --state

停止firewall:

systemctl stop firewalld.service

禁止firewall开机启动:

systemctl disable firewalld.service

上一篇 下一篇

猜你喜欢

热点阅读