Happy New Year! Forget all that stuff about the Mayan Calendar. Be Cool!

Latest Reviews & Tutorials

  • GhostBSD 2.5 review
  • How to install Takeoff Launcher on Fedora 16 KDE
  • Install Quick Access on Linux Mint 12 KDE or any KDE installation
  • How to install Linux Mint 12 KDE on a btrfs file system
  • Manual disk partitioning guide for Linux Mint 12 KDE
  • How to compile and install Takeoff Launcher on Linux Mint 12 KDE
  • 3 must-have extensions for Fedora 16 and other GNOME 3 installations
  • How to install Razor-qt on Linux Mint 12 KDE
  • How to enable desktop slideshow on Linux Mint 12 KDE
  • KahelOS 111111 review
  • How to install Cinnamon in Ubuntu 11.10
  • How to customize Cinnamon on Fedora 16 and Linux Mint 12
  • How to install Cinnamon on Fedora 16
  • What does Cinnamon bring to the desktop?
  • How to access Microsoft Windows files and folders from Linux
  • How to dual-boot Pear OS Panther 3 and Windows 7
  • How to dual-boot Chakra Linux Edn and Windows 7, part 1
  • Linpus Lite Desktop 1.6 review
  • Chakra GNU/Linux Edn 2011.12 review
  • How to customize Pear OS Linux Panther 3

Install a graphical firewall client on Ubuntu 9.10


UbuntuAlthough Ubuntu 9.10 (aka Karmic Koala) ships with a command line firewall script – ufw (Uncomplicated FireWall) – for configuring IPTables (netfilter), the firewall application built into the Linux kernel, it does not come with a graphical firewall client for use by those not comfortable with managing IPTables from the command line. So in order to configure IPTables using a graphical interface, you will have to install one yourself.

Luckily, the graphical interface to ufw, Gufw, is in the main repository, and you can install it from a shell terminal, via Synaptic, or via the new Ubuntu Software Center. For this tutorial, let’s install it from Ubuntu Software Center.

From the menu click on Applications > Ubuntu Software Center, and type in ‘gufw’ in the search bar. You may type in ‘firewall’ if you want to see all the other (graphical) firewall clients available. The screenshot below shows the results of my search. Select Gufw and click on the arrow at the end of the line.

Gufw search

On this next screen shown below, click on the Install button. After authenticating, it will only take about a minute for the installation to complete.

Install Gufw
Installing Gufw

An entry for Gufw will be placed in the menu tree at System > Administration > Firewall configuration. By default, Gufw is not enabled as shown in the screenshot below. To enable it, click on the check box next to Enabled.

Gufw – disabled
Gufw disabled

Gufw enabled
Gufw enabled

The default firewall policy is to deny all connections to the PC on which Gufw is guarding. Outbound connections are permitted. If you need to, you may modify the default policy by clicking on the ‘Add’ button. Gufw has several preconfigured services and programs that you may select from, or you may just create one.

For each program or service, you may choose to Allow, Deny, Reject, or rate Limit it. Denying a connection will silently drop it while rejecting a connection will drop it and send a message back to the source address. For obvious reasons, it is better to Deny rather than Reject (Note: There is more to this than my simple explanation here, but in the spirit of ufw, I have chosen to keep the explanation uncomplicated).
Policy preconfigured

Several services – FTP, IMAP, POP3, SMTP, IPP, VNC, NFS, ssh, Telnet, and Netbios-ssn – are already preconfigured.
Preconfigured services

Some programs – Amule, Deluge, Nicotine, Transmission, KTorrent, qBittorent – preconfigured programs.
Preconfigured programs

The ‘Simple’ configuration tab allows you to set very basic policies. For example. you may Allow, Deny, Reject, or rate Limit a TCP or UDP connection by port number or port range.
Simple configuration

On the ‘Advanced’ configuration tab, you can set more specific policies as shown below.
Advanced configuration

This is a screenshot of the main window showing example policies added from the last two screenshots above.
Added policies

Compared to other graphical firewall clients, Gufw is very simple to use. However, it offers fewer “advanced” configuration options, and it is not minimized to the system tray when you close the application window. If you need a firewall client with more configuration bells and whistles, you should try Firestarter or KMyFirewall. Both are available in Ubuntu’s repository.

0saves
To have articles like this delivered automatically to your Feed Reader or Inbox, subscribe via RSS or email. For simple comments, use the commenting system, but for more involved assistance, please use the Question & Answer section.

Posts From The Same Category:




Questions & Answers Hola! Looking for an answer to a question but did not find it? Then surf on over to the Questions & Answers section. It's a brand new addition to our site, and we are waiting just to answer your question(s).

3 Comments

  1. Ram says:

    Thanks a ton !
    Very useful information to protect our desktops against attacks.

  2. Young says:

    There is obviously a lot to know about this.

  3. CUNNINGTON says:

    what a great site and informative posts, I will add backlink – bookmarked this site? Regards,

Leave a Reply

Trackbacks

  1. Install a graphical firewall client on Ubuntu 9.10 :Addz It Now
Read previous post:
Android/Linux’s Future and Advancement of Mobile Software Freedom
Install NetworkManager on Hymera Open
How to install and configure NTP on Sabayon 5
Close