CentOS7 关闭和开启防火墙

su root 需要先切换为root用户 systemctl status firewalld.service 查看防火墙状态 图中绿色的active(running)说明centos7的防火墙是开启状态。 systemctl stop firewalld.service 关闭防火墙 输入命令后重新查看,active(running)变为inactive(dead),说明此时防火墙是关闭状态。 但
相关文章
相关标签/搜索