首页 > 技术文章 > CentOS7查看和关闭防火墙

wuhaidong 2019-03-05 10:33 原文

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

1、查看防火墙状态 firewall-cmd --state
2、停止firewall systemctl stop firewalld.service
3、禁止firewall开机启动 systemctl disable firewalld.service

推荐阅读