FirewallD is software that provides the system firewall feature to protect Fedora users from unwanted access by disabling and enabling ports, services, or protocols. However, for users that are used to an interface such as Graphical User Interface (GUI), then the command line may seem difficult at first glance because there’s no visual representation and who are not comfortable learning the command line terminal to the possibility of having an unsecured system.
However, you can install the FirewallD GUI. This sleek and simple design program is a perfect match 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.
In the following tutorial, you will learn how to install and enable FirewallD and install FirewallD GUI on Fedora 36 Linux using the command line terminal.
Table of Contents
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.
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.
For users that do not have the firewall present, you can run the following command below.
sudo dnf install firewalld -y
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 make sure everything is working and no errors are present.
systemctl status firewalld
As above, the backend of FirewallD is active and working correctly.
Install FirewallD GUI
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
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
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 in use on your system, so be aware. For most users, you should be removing these as they can clog your system up heavily after a while.
Comments and Conclusion
In the tutorial, you have learned how to install FirewallD GUI on Fedora 36 Linux.
If you’re looking for a lightweight yet sophisticated program that will help keep an eye on your system, then look no further than GUIs sleek and simple interface, and you should check it out.