Home >Operation and Maintenance >Linux Operation and Maintenance >How to turn off the firewall in centos7
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.
#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!