June 23, 2026 Stories worth reading. Perspectives worth sharing.
Linux

How to Start and Enable Firewalld on CentOS 7

mo wasay March 28, 2016 1 min read
It is highly recommended that you have a firewall protecting your server.

Pre-Flight Check

  • These instructions are intended specifically for enabling and starting firewalld CentOS 7.
  • I’ll be working from a Liquid Web Self Managed CentOS 7 server, and I’ll be logged in as root.

Check the Status of Firewalld

To check the status of firewalld, run the following command as root:

systemctl status firewalld

Enable Firewalld

To enable firewalld, run the following command as root:

systemctl enable firewalld

Start Firewalld

To start firewalld, run the following command as root:

systemctl start firewalld