The following columncentos Getting Started Tutorialwill introduce to you how to permanently turn off the firewall in centOS7. I hope it will be helpful to friends in need!
Check the firewall status:systemctl status firewalld.service
Green running indicates that the firewall is on
Execute shutdown Command:systemctl stop firewalld.service
Execute the command to view the firewall again:systemctl status firewalld.service
Execute the command to disable the firewall auto-start at boot:systemctl disable firewalld.service
Complete
##================== =========================================== About Other commands for the firewall: Start:systemctl start firewalld.service
systemctl enable firewalld.service
The above is the detailed content of How to permanently turn off the firewall in centOS7. For more information, please follow other related articles on the PHP Chinese website!