As a matter of following security best practices, you should protect your server with a firewall. Fedora 23 and CentOS 7 come with firewalld, an alternative to iptables.
- These instructions are intended specifically for enabling and starting firewalld on Fedora 23. The instructions are the same for CentOS 7.
- We’ll be logging in as root on a Liquid Web Self Managed Fedora 23 server.
To enable firewalld and have it start at boot, run the following command:
systemctl enable firewalld
To start firewalld, run the following command:
systemctl start firewalld
Check the Status of Firewalld
To check the status of firewalld, run the following command as root:
systemctl status firewalld
To stop and disable firewalld, visit How to Stop and Disable Firewalld on Fedora 23