Tutorials/Tips, Ubuntu

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

How to install Sabayon 5.3 on a btrfs filesystem Thanks to its use of Anaconda, the Fedora installer, Sabayon 5.3, the latest release of the Gentoo-based distribution, is one of the first Linux distr...
How to upgrade the Linux Mint 17.1 kernel from version 3.13 to 3.16 This short tutorial shows how to upgrade the kernel in Linux Mint 17.1 from version 3.13 to version 3.16. If you upgraded your copy of Linux Mint 1...
PC-BSD’s graphical firewall manager PC-BSD is a desktop-oriented, FreeBSD-based distribution with KDE as the default desktop environment. The version due to be released shortly is PC-BSD...
Configure the graphical firewall manager on Pardus 2009.1 Pardus is a desktop-oriented, Linux distribution. The latest release is Pardus 2009.1, and just like Pardus 2009, it comes with IPTables/Netfilter, th...
How to customize Linux Mint 15 Cinnamon Summary: How to customize Linux Mint 15 Cinnamon by disabling the Hot corner and adding the Expo, Scale and Workspace switcher applets to the panel. ...
Nuvola Player: Enjoy all your Cloud music services from one interface Nuvola Player is a very simple graphical interface for Cloud music services. If you have more than one of those services that you listen to regularly,...

We Recommend These Vendors and Free Offers

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

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


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 *

*