How to install and configure a graphical firewall client in Ubuntu 10.10

UbuntuLike all Linux distributions, Ubuntu 10.10, aka, Maverick Meerkat, the latest version of the popular Linux distribution, ships with a firewall installed. The firewall is actually embedded in the kernel. In Ubuntu, the firewall’s original command line interface has been replaced by ufw, a more user-friendly command line script. Ufw, the Uncomplicated FireWall, has a graphical interface that is also a lot simpler to use than other graphical firewall interfaces in Linux.

This article will present a step by step guide on how to install and configure Gufw, the graphical interface to ufw.

Before installing and configuring Gufw, take a few moments to check the status of ufw. To do that, launch a shell terminal and type sudo ufw status. The output should read Status: inactive. That is the default state of ufw on a new installation of Ubuntu (10.10).

Ok, time to install Gufw, which is one of the featured applications in the Ubuntu Software Center. If you still have the terminal open, you can just type sudo apt-get install gufw to install it, or start the Software Center from Applications > Software Center, and install it from there.

Installing Gufw from the Software Center

Installing Gufw

Once installed, there will be an entry for it in the menu at System > Administration > Firewall configuration. This is the default Gufw interface. It is disabled.

Gufw disabled

This is Gufw’s interface in enabled status.

Gufw enabled

By default, ufw operates in an inactive stateful tracking mode: All outgoing connections are allowed, and all incoming connections that are not related to an entry in the state table, that is, that are not related to an outgoing connection, are disallowed. The default incoming policy is DROP. All default policies are set out in the /etc/default/ufw file. By default, IPv6 traffic is blocked. To enable IPv6 traffic, edit /etc/default/ufw and change IPV6=no to IPV6=yes. Let us take a look at other files that are involved in the configuration of ufw/Gufw.

Ufw’s main configuration file is /etc/ufw/ufw.conf. The state of this file before Gufw is enabled is shown below. Note the highlighted entry.

ufw.conf, default

The state of ufw.conf after Gufw is enabled, If you type sudo ufw status in a shell terminal, the output should read Status: active.

ufw.conf, modified

That is all there is to installing and enabling Gufw in Ubuntu 10.10. Most users will not need to do anything beyond this point, but if you want to create custom rules, you can start creating them from Gufw, or from the command line using the ufw utility.

Gufw comes with a default set of rules. You may read those rules in the /etc/default/ufw file. There are also rules defined in some files under the /etc/ufw directory. Those rules are in the before.rules and after.rules files. Equivalent IPv6 rules are in the before6.rules and after6.rules files. The rules in the “before” files are evaluated before any custom rules you create, and the “after” rules are evaluated after your custom rules.

Related Posts

What I can say about KDE Plasma 5 that I can’t say about Windows 8 I've never really had the time to explore KDE Plasma 5 since it was released back in July 2014. I've played with it a bit, but not much. Now that ...
Zentyal installation guide Zentyal, the Linux distribution formerly known as eBox Platform, is a server distribution which can be used as a network gateway, unified threat manag...
What is an init system? Editor: This is a short and to-the-point article to read if you want to get a proper understanding of how your Linux system boots. Back in Fedora 1...
Feature preview of Fedora 16 installer Fedora 16 is more than two months away from final, stable release, but pre-Alpha installation ISO images have been floating around. News from the Fedo...
Top 3 applications menu extensions for GNOME 3 On an unmodified, GNOME 3 desktop, the Activities button provides access to all installed applications. But in some circles, it is one reason that the...
Have a Happy Holidays and give GRUB a look to match your mood Not too long ago, it was January, and in a few days, it will be another month of January. Time really does fly. But what can we do? Go with the...

We Recommend These Vendors

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).


  1. Pingback: Links 21/10/2010: Tinycore 3.2, WebOS 2.0 | Techrights

  2. Pingback: Linux News » How to install and configure a graphical firewall client in Ubuntu 10.10

  3. Pingback: A graphical firewall client for Maverick « 0ddn1x: tricks with *nix

  4. Pingback: First time Ubuntu user, need help! - -

Leave a Comment

Your email address will not be published. Required fields are marked *