Centos7.4-firewall

Posted lyhthinking

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Centos7.4-firewall相关的知识,希望对你有一定的参考价值。

centos7.4的防火墙很强大。先记几个命令

systemctl disable/enable firewalld.service 禁止、允许开机自启
firewall-cmd --state 防火墙状态
systemctl status firewalld 防火墙服务状态
service firewalld stop/start 关闭、打开防火墙

以上是关于Centos7.4-firewall的主要内容,如果未能解决你的问题,请参考以下文章