How to turn off the firewall in centos7

青灯夜游
Release: 2023-01-07 11:43:08
Original
60158 people have browsed it

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
Copy after login

Stop firewall

systemctl stop firewalld.service
Copy after login

Disable firewall startup

systemctl disable firewalld.service
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!