How To Install FirewallD on Fedora 39

To install FirewallD on Fedora 39, follow the steps below.

Step 1 : Ensure your system is up to date by running the following command:

Step 2 : Install FirewallD using the following command:

Step 3 : Start the FirewallD service with the command:

Step 4 : Enable FirewallD to start at boot with the command:

Step 5 : Check the status of FirewallD using:

Step 6 : Configure basic FirewallD settings as needed. You can begin by adding rules using the firewall-cmd command. For example, to allow incoming traffic on port 80 (HTTP), use:

Congratulations! You have successfully installed and configured FirewallD on your Fedora 39 system.