centos7怎么关闭防火墙

 2022-04-27    895  

centos7怎么关闭防火墙

centos7中,可利用systemctl命令来关闭防火墙,语法“systemctl stop firewalld.service”;还可利用“systemctl disable firewalld.service”语句禁止防火墙开机启动

centos7怎么关闭防火墙

本教程操作环境:centos7系统

CentOS 7默认使用的是firewall作为防火墙

查看防火墙状态

firewall-cmd --state

停止firewall

systemctl stop firewalld.service

禁止firewall开机启动

systemctl disable firewalld.service

以上就是centos7怎么关闭防火墙的详细内容,更多请关注服务器技术网其它相关文章!

原文链接:https://77isp.com/post/849.html

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

https://77isp.com/ 为 “云服务器技术网” 唯一官方服务平台,请勿相信其他任何渠道。