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

How to turn off the firewall in centos7

尚
Original
2020-03-21 17:13:0937033browse

How to turn off the firewall in centos7

centos7 The default firewall is firewalld So check the firewall status command: systemctl status firewalld.service

How to turn off the firewall in centos7

You can see the green words after execution The marked "active (running)" indicates that the firewall is on.

Use the command: systemctl stop firewalld.service to close the running firewall

How to turn off the firewall in centos7

After closing, Use the command systemctl status firewalld.service to view the firewall status

You can see the words disavtive (dead), indicating that the firewall has been closed

Related video tutorial 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