Install And Use Gufw Firewall Manager In Ubuntu Linux

Linux has a default firewall called Ufw(Uncomplicated Firewall) but  it has a terminal based interface and you need to be familiar with complex terminal commands in order to perform common firewall operations.  Gufw is the front-end powered by Ufw, it offers an easy-to-use graphical interface from where you can decide which ports, ips, services, etc you want to block and allow.

To install it in Ubuntu 9.04, first go to Applications > Add/Remove.

gufw add remove Install And Use Gufw Firewall Manager In Ubuntu LinuxView in gallery

Now, choose Gufw and click Apply Changes.

add remove dialogue1 Install And Use Gufw Firewall Manager In Ubuntu LinuxView in gallery

It will be installed instantly. Now, you can load it from System > Administration > Firewall Configuration.

gufw-mainView in gallery

Now, its very simple to apply rules according to your requirements. There are three tabs Simple, Preconfigured, Advanced. Below is the screenshot showing how can you apply rules using Simple tab. Choose Allow, Deny, or Limit from first drop down menu, enter port number in text box, and choose TCP, UDP, or both from last drop down menu. I have allowed port 21 in firewall and the process is demonstrated in the 2nd screenshot below.

allow-port-in-gufwView in gallery

simple-21View in gallery

To add the rule in firewall, click Add and it will be visible in the list of applied rule.

allow-traffic-21-gufwView in gallery

From Preconfigured tab you can change some pre-configured option.

preconfigured-gufwView in gallery

Although Simple and Preconfigured tabs are sufficient to perform common firewall operation, but still if you need to add some advanced rule then you can use Advanced tab.

gufw-advancedView in gallery

Now, once you are familiar with Gufw, I hope that you will use it often. You can add it in Tray icon from Edit > Preferences and check Show tray icon option.

gufw-tray-iconView in gallery

Click Close and now you will be able to launch it from system tray. Enjoy!