自有服务(1)特殊情况补充-centOS 7.X永久关闭防火墙(防火墙的基本使用)

具体可见:

https://blog.csdn.net/ViJayThresh/article/details/81284007

查看防火墙状态: systemctl status firewalld.service

如图:

绿的running表示防火墙开启

执行关闭命令: systemctl stop firewalld.service

再次执行查看防火墙命令:systemctl status firewalld.service

如下图所示表示防火墙已经关闭

执行开机禁用防火墙自启命令  : systemctl disable firewalld.service

完成

============================================================

关于防火墙的其他命令:

 

启动:systemctl start firewalld.service

 

防火墙随系统开启启动  : systemctl enable firewalld.service

 

 

————————————————

 

 

 

 

 

 

 

 

 

发布了78 篇原创文章 · 获赞 19 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/kxindouhao5491/article/details/104384368