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

gufwinstall
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
Gufw disabled

This is Gufw’s interface in enabled status.

gufw1
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.

gufw3
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.

gufw2
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

Install Linux Mint 11 on an 8 GB SDHC card SDHC cards, very small storage cards designed for use in mobile devices, can be used to install your favorite Linux distribution. You can install any ...
Why I switched from Postgres to MongoDB, then to Neo4j When you're about to start a project and are trying to make a decision on the what applications to use, one way to proceed is to find out what other p...
StackFolder and KLook integration Last November, I published an article titled 2 cool reasons to use the K Desktop Environment. The reasons I cited in that article, are two application...
Install Razor-qt on Ubuntu 12.10 Razor-qt is a relatively new desktop environment built atop Qt technologies. From the ground up, it is designed to be resource-friendly, so that it ca...
The first thing to do after installing Linux Mint Debian 201204 Linux Mint Debian is a line of desktop distribution based on Debian, developed by the same group responsible for Linux Mint, a desktop distribution ba...
How to install Cinnamon 1.3.1 in Ubuntu 11.10 Cinnamon 1.3.1 is the latest version of Cinnamon, a new desktop environment forked from GNOME 3 by the developers of Linux Mint. Given the need for a ...

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).


4 Comments

  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! - Overclock.net - Overclocking.net

Leave a Comment

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

*