Are you new to Linux, or do you simply want to take control of your computer's security without wrestling with complex terminal commands? If so, GUFW is about to become your new best friend.
In this post, you will learn how to install and configure GUFW—the most user-friendly firewall interface for Linux distributions like Ubuntu, Linux Mint, and Debian.
The name stands for Graphical Uncomplicated Firewall. Essentially, it is a graphical user interface (GUI) for the command-line tool known as UFW.
While Linux is renowned for its security, the firewall is often disabled by default or managed strictly through text commands. GUFW allows anyone to manage their network security with just a few clicks and a simple toggle switch.
PRO TIP: Think of a firewall as a digital security guard that decides which traffic is allowed to enter or leave your computer.
Most modern Linux distributions include GUFW in their official software repositories.
Via Software Center: Search for "Firewall" or "GUFW" and click install.
Via Terminal (The fastest way): Open your terminal and type the following command: sudo apt update && sudo apt install gufw
Once installed, you can find it in your application menu under "Firewall Configuration".
The beauty of GUFW is that you don’t need to be an IT expert to use it. For 99% of home users, these settings provide the best balance of security and usability:
Status: Flip the switch to turn it ON.
Incoming: Set this to Deny. This blocks all external attempts to reach your PC.
Outgoing: Set this to Allow. This ensures your browser and apps can still access the internet without issues.
If you are a gamer or use specific services like SSH, you can easily add exceptions under the "Rules" tab.
Click the small "+" icon.
You can choose "Preconfigured" (where you simply select an app like "Minecraft" or "Skype") or define specific ports manually.
GUFW also features different Profiles (Home, Office, Public). This allows you to quickly switch security levels if you are working from an insecure public Wi-Fi at a café.
Running Linux without an active firewall is like having a sturdy front door but forgetting to lock it. With GUFW, it takes less than a minute to shield your computer from unwanted traffic.
Why use GUFW?
Simple: No scary commands required.
Secure: Blocks all incoming threats by default.
Free: Like all the best things in the Linux world.
see also how to use ufw in the terminal UWFcheatsheet
see also clamav in linux on my blog cloudypenguin.com