centos7如何关闭防火墙

centos7如何关闭防火墙

centos7  默认防火墙是firewalld    所以查看防火墙状态命令:systemctl status firewalld.service   

1.jpg

执行后可以看到绿色字样标注的“active(running)”,说明防火墙是开启状态

使用命令:systemctl stop firewalld.service        关闭运行的防火墙

2.jpg

AI Room Planner AI Room Planner

AI 室内设计工具,免费为您的房间提供上百种设计方案

AI Room Planner 136 查看详情 AI Room Planner

关闭后,使用命令systemctl status firewalld.service         查看防火墙状态

可以看到,dis*tive(dead)的字样,说明防火墙已经关闭

相关视频教程推荐:linux视频教程

以上就是centos7如何关闭防火墙的详细内容,更多请关注其它相关文章!

本文转自网络,如有侵权请联系客服删除。