optimize your life.

Better Secure your Linux Firewall with GUFW

October 17th, 2012 | Posted by Costea Lestoc in Networking

Linux has earned the reputation of being one of the most secure operating systems out there.   Without many security loopholes and open-source programming, it makes it nearly impossible for a virus to go undetected on a Linux based system. However, Linux is still vulnerable to attacks conducted through its ports. To protect you from this, GUFW has an simple user interface that can help you control the firewall ( aka IP tables) easily on any Linux based machine.

GUFW is a firewall and consists of a graphical front end opposed to the more traditional UFW (Used by Ubuntu earlier). It can’t use IP tables fully, but, provides enough management features for all but the most demanding home users.

When you first launch GUFW you will be asked to provide an admin password. After you do, you will see an interface where you can switch the firewall on or off. You can also allow or deny both incoming and outgoing traffic connections manually. If you block incoming traffic, you won’t be able to access the internet- so be careful with this option. However, if you know which ports are used by your system, you can micro-manage these ports manually for better security.

GUFW Interface

If you wish, you can also log all the firewall events. You can even decide how detailed those logs should be. You can include listening reports mentioning protocol, application, Port and address as well. You can add different rules based on your requirements.

If you believe that a specific program should not be allowed to access Internet, you can easily restrict it from GUFW. You can use the advanced features; such as blocking or allowing connections based on the originating IP address itself.

If you have Ubuntu, run this command “sudo apt-get install gufw” and GUFW will be installed. For others versions of Linuz, you may need to search through your respective package manager to find it.


As you can see GUFW is an invaluable security tool for Linux.

Be Sociable, Share!

You can follow any responses to this entry through the RSS 2.0 You can leave a response, or trackback.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

404 Not Found

404 Not Found