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:
1 |
systemctl status firewalld |
Enable Firewalld
To enable firewalld, run the following command as root:
1 |
systemctl enable firewalld |
Start Firewalld
To start firewalld, run the following command as root:
1 |
systemctl start firewalld |