How To Enable FirewallD GUI on Rocky Linux 8

In this tutorial, we want to teach you How To Enable FirewallD GUI on Rocky Linux 8. FirewallD is software that provides the system firewall feature to protect Rocky Linux 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), the command line may seem difficult at first glance because there’s no visual representation, and those who are not comfortable learning the command line terminal may be exposed to the possibility of having an unsecured system. So, in this guide from the Orcacore website, you will learn to enable the FirewallD GUI.

Steps To Enable FirewallD GUI on Rocky Linux 8

To complete this guide, you must log in to your server as a non-root user with sudo privileges. To do this, you can follow our guide on the Initial Server Setup with Rocky Linux 8.

1. Install FirewallD on Rocky Linux 8

First, you need to update your local package index with the command below:

sudo dnf update -y

If you don’t have firewalld already on your system, then you have to install it. Run the command below to install the firewalld:

sudo dnf install firewalld -y

When your installation is completed, start and enable your service with the following commands:

# sudo systemctl start firewalld
# sudo systemctl enable firewalld

Verify your FirewallD service is active and running on Rocky Linux 8:

sudo systemctl status firewalld
Check FirewallD status

2. Install FirewallD GUI on Rocky Linux

Now that you have Firewalld installed on your server, you can install the graphical user interface program for it. The packages are available in the default Rocky Linux repository.

To do this, run the command below:

sudo dnf install firewall-config -y

Note: If you are using the KDE desktop, you can also go for the Plasma Control panel:

sudo dnf install plasma-firewall-firewalld -y

3. Launch FirewallD GUI

At this point, you can start managing the ports and services in the Firewall with the help of mouse clicks on Rocky Linux 8.

To run your FirewallD GUI, go to the Application launcher and find the FirewallD you have installed.

You will see:

FirewallD GUI

4. Remove FirewallD GUI Tool

If you don’t want to use this firewall GUI tool anymore, you can remove the same using the DNF package manager:

sudo dnf remove firewall-config -y

That’s it. You are done.

Conclusion

Enabling the FirewallD GUI on Rocky Linux 8 involves installing the firewalld and firewall-config packages, starting the service, and launching the graphical interface. This provides a user-friendly way to manage firewall rules and enhances system security with easier configuration.

Hope you enjoy it. Please subscribe to us on Facebook and Twitter.

You may also like to read the following articles:

Reset MySQL Root Password on Rocky Linux

Install Skype on Rocky Linux

Install Zoom Client on Rocky Linux

Choose Better OS: AlmaLinux vs Rocky Linux

Share your love

Stay informed and not overwhelmed, subscribe now!