Menu

Firewall

Anonymous

The GUFW firewall

The gufw (graphic user interface for managing ufw) powered by ufw is easy and intuitive to manage your Linux firewall. It supports common tasks such as allowing or blocking pre-configured, common p2p, or individual port or ports, and many others.

Installation

Ctrl+Alt+T or click on the terminal icon in the Panel to open a terminal and type sudo apt install gufw

Alternatively click on the Synaptic Package Manager in the Panel, you will be prompted for your password, once open look for the search icon to the top right and type gufw

Example of terminal commands for ufw and gufw usage

To enable
sudo ufw enable

Output
Firewall is active and enabled on system startup

Status
sudo ufw status

Output
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), deny (routed)
New profiles: skip

Disable gufw
sudo ufw disable

Deny an ip address
sudo ufw deny from 203.0.113.100

Output
Rule added
Output
Status: active

To                         Action      From
--                         ------      ----
Anywhere                   DENY        203.0.113.100

Extra reading
https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands