How To Start and Enable Firewalld on Fedora 23

Posted on by dpepper
Category: Tutorials | Tags: Fedora 23, Firewall
Reading Time: < 1 minute
Note:
Please note that this article is considered legacy documentation because Fedora 23 has reached its end-of-life support.

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.

Pre-Flight Check

  • 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.

Enable Firewalld

To enable firewalld and have it start at boot, run the following command:

systemctl enable firewalld

Start 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

Avatar for dpepper

About the Author: dpepper

Latest Articles

How to install Puppet Server on Linux (AlmaLinux)

Read Article

Deploying web applications with NGINX HTTP Server

Read Article

Email security best practices for using SPF, DKIM, and DMARC

Read Article

Linux dos2unix command syntax — removing hidden Windows characters from files

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article