Category: Ubuntu

Added: 26th of December 2015

Viewed: 2296 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

Ubuntu

Install Redshift to automatically adjust the colour of your screen depending on time of day on Ubuntu and Ubuntu based distributions

Posted: 26th of November 2020

Views: 154

Ubuntu

PulseAudio, Pavucontrol not saving settings after reboot on Ubuntu and Ubuntu based distributions

Posted: 11th of November 2020

Views: 405

Ubuntu

No sound after installation of Ubuntu or Ubuntu based distribution, install pavucontrol

Posted: 9th of November 2020

Views: 133

Ubuntu

Shutdown Ubuntu and Ubuntu based distributions at a specific time or within (x) minutes

Posted: 30th of October 2020

Views: 150

Ubuntu

Open and edit files using Visual Studio Code from FIlezilla FTP Client on Linux

Posted: 27th of October 2020

Views: 272

Ubuntu

Download Microsoft Edge preview version for Ubuntu and Ubuntu based distributions

Posted: 22nd of October 2020

Views: 198

Ubuntu

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

Posted: 7th of August 2020

Views: 308

Ubuntu

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: 293

Ubuntu

Ubuntu 4.10, Warty Warthog. The first Ubuntu Linux Distribution

Posted: 6th of October 2019

Views: 1224

Ubuntu

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

Posted: 19th of May 2019

Views: 1420