firewall

How to Start and Enable Firewalld on CentOS 7

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:

Enable Firewalld

To enable firewalld, run the following command as root:

Start Firewalld

To start firewalld, run the following command as root: