For users unfamiliar with using the command line interface, FirewallD GUI provides an easy-to-use graphical interface for managing the FirewallD software. The sleek and simple design program is the perfect solution for those who want easy access to what’s going on in their system without having too many bells and whistles to distract them from maintaining security. The FirewallD GUI provides users with a visual representation of the ports, services, and protocols that are currently enabled or disabled, making it easy to make changes as needed. In addition, the program offers a variety of other features that make it a valuable tool for keeping your system secure, including the ability to create custom rules and view detailed log files.
The following tutorial will teach you how to install FirewallD GUI on Fedora 37/36/35 Linux using the command line terminal with the steps required to achieve this for users that prefer using a graphical method of controlling FirewallD on their system.
Table of Contents
Recommended Steps Before Installation
Begin by making sure your system is up to date with the latest packages, failure to do this may result in issues further down the line with the installation or your system in general.
sudo dnf upgrade --refresh
Once you have finished updating and upgrading your packages, install FirewallD.
Install FirewallD on Fedora Linux
By default, FirewallD should be automatically pre-installed on Fedora 36. To confirm if the firewall is present, use the following command.
sudo firewall-cmd --version
The output should state a version number in the output that shows the presence of FirewallD.
You can run the following command below for users that do not have the firewall present.
sudo dnf install firewalld -y
Enable FirewallD on Fedora Linux
After checking or re-installing FirewallD on your Fedora system, you need to enable the service.
The best practice is automatically enabling the firewall software at system boot and starting it immediately. This can be accomplished with an all-in-one command as follows.
sudo systemctl enable firewalld --now
Next, check the status of FirewallD to ensure everything is working and no errors are present.
systemctl status firewalld
As mentioned above, the backend of FirewallD is active and working correctly.
Install FirewallD GUI on Fedora Linux
The next step is to install the graphical interface (GUI) for FirewallD. The packages required are present in Fedora 36.
To begin the installation, use the following command.
sudo dnf install firewall-config -y
KDE users on Fedora can install the KDE control panel for FirewallD.
sudo dnf install plasma-firewall-firewalld -y
Run FirewallD GUI on Fedora Linux
Once the installation has been completed, you can run the GUI by opening the application following the path.
Activities > Show Applications > Firewall
Once launched, you can begin to experiment with the firewall settings, the main list you can see is public, along with services, ports, protocols, and much more.
The view menu and Options also have additional options and selects.
Example of FirewallD GUI:
Remove (Uninstall) FirewallD GUI on Fedora Linux
For users that no longer wish to use FirewallD GUI, use the following command below.
sudo dnf autoremove firewall-config
KDE users that want to remove the FirewallD panel.
sudo dnf autoremove plasma-firewall-firewalld
Note this will remove all unused dependencies for FirewallD GUI and any other dependencies that are no longer used on your system, so be aware. You should remove these for most users as they can clog your system up heavily after a while.