How to stop Centos 7 firewall

You can stop Centos 7 firewall temporarily with this command:

 sudo systemctl stop firewalld

Next time, when system boots, firewall will be turned on automatically.

To disable Centos 7 firewall permanently and prevent this firewall turned on again, use this command:

  sudo systemctl disable firewalld

Further more, to prevent firewall is called from another programs:

 sudo systemctl mask --now firewalld

With these commands, you can do anything with Centos 7 firewall from stop temporarily, disable permanently and prevent other process call firewall.

Beside that, we can check current status of Centos 7 firewall with this command:

 sudo firewall-cmd --state
Related:  Which Gantt chart/Project management tool would you recommend for linux? [closed]

Leave a Reply

Your email address will not be published. Required fields are marked *