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

How to turn off the firewall in centos

王林
王林Original
2020-05-17 10:10:386733browse

How to turn off the firewall in centos

The specific methods are as follows:

1. Temporarily turn off the firewall

sudo systemctl stop firewalld

2. Disable the firewall from starting after booting

sudo systemctl disable firewalld

3. Restart the system

reboot

4. Check the firewall status and confirm whether it is closed

sudo systemctl status  firewalld

Recommended tutorial:centos tutorial

The above is the detailed content of How to turn off the firewall in centos. 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