标签: centos

1 篇文章

centos常用防火墙命令,基于centos7.X
为什么防火墙命令一到用的时候就忘记~这篇文章将好好捋一下常用的防火墙命令,也算做个笔记吧!查看防火墙状态 systemctl status firewalld 若是active,则证明是启动的状态 如果是inactive,则证明是防火墙关闭的状态 。 也可以使用这个 firewall-cmd --state 开启防火墙 systemctl star…