Disabling the firewall on CentOS 7

To turn off the firewall (firewalld) on CentOS 7, run these commands over SSH:

systemctl disable firewalld
systemctl stop firewalld

The first command stops the service from starting at boot; the second stops the running service.

Was this article helpful?