Category: Ubuntu

Added: 26th of December 2015

Viewed: 2174 times

Enable ufw, uncomplicated firewall in Ubuntu and Ubuntu based distributions

This tutorial works in Ubunbu, Kubuntu, Xubuntu, Lubuntu, Ubuntu Mate and other Ubuntu based distributions. The tutorial also works in Linux Mint and other Debian based distributions.

ufw uncomplicated Firewall is the default Firewall in Ubuntu and Ubuntu based distributions. You will find that ufw is not enabled by default when you start your start your distribution so we need to enable it via the terminal.

To enable ufw, open your terminal and enter the following command

sudo ufw enable

The following message will be displayed in terminal
Firewall is active and enabled on system startup

If you want a detailed information about the status of ufw via the terminal enter the following command
sudo ufw status verbose

Which results in the following output:
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

If you prefer not to use the terminal to access your firewall, ufw (Uncomplicated Firewall) has a GUI, it can be accessed by entering the following command in the terminal
sudo gufw

The default settings should be fine for the average home user.

If you find gufw is not installed, you can install it by entering the following command
sudo apt-get install gufw

Other Tips & Tutorials


Download Microsoft Edge preview version for Ubuntu and Ubuntu based distributions

Posted: 22nd of October 2020

Views: 43


Create a really simple banner using GIMP (GNU Image Manipulation Program) in Linux

Posted: 7th of August 2020

Views: 166


Install the tree package to list folders and files in a tree like format inside the terminal on Linux

Posted: 22nd of July 2020

Views: 167


Ubuntu 4.10, Warty Warthog. The first Ubuntu Linux Distribution

Posted: 6th of October 2019

Views: 962


Sim City 4 Deluxe Edition Install Wine Linux. Trouble installing from CD/Disk 2

Posted: 19th of May 2019

Views: 1228


Where are the fonts located in Ubuntu and other Ubuntu based distributions

Posted: 3rd of June 2018

Views: 1335


Install MariaDB Database in Ubuntu and other Ubuntu based distributions (Part 1)

Posted: 26th of May 2018

Views: 1273


Convert .mkv video to .png images using ffmpeg

Posted: 24th of May 2018

Views: 2622


Shutdown Ubuntu using the terminal

Posted: 20th of May 2018

Views: 1142


Running Sketchup 8 in Wine. Sketchup was unable to initialize OpenGL, Linux

Posted: 29th of May 2016

Views: 3575