centOS7永久关闭防火墙

centOS7永久关闭防火墙,第1张

centOS7永久关闭防火墙(防火墙的基本使用(转)

查看防火墙状态: 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

原文地址  https://blog.csdn.net/ViJayThresh/article/details/81284007

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/587469.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-12
下一篇 2022-04-12

发表评论

登录后才能评论

评论列表(0条)

保存