Home  >  Article  >  Operation and Maintenance  >  How to turn off the firewall in centos7

How to turn off the firewall in centos7

青灯夜游
青灯夜游Original
2021-07-13 14:19:2660232browse

In centos7, you can use the systemctl command to turn off the firewall, with the syntax "systemctl stop firewalld.service"; you can also use the "systemctl disable firewalld.service" statement to disable the firewall from starting up.

How to turn off the firewall in centos7

#The operating environment of this tutorial: centos7 system, Dell G3 computer.

CentOS 7.0 uses firewall as the firewall by default

View firewall status

firewall-cmd --state

Stop firewall

systemctl stop firewalld.service

Disable firewall startup

systemctl disable firewalld.service

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of How to turn off the firewall in centos7. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn