UFW is a firewall for ubuntu users and it is available by default in all Ubuntu installations after 8.04 LTS
To enable UFW in ubuntu open your terminal and type
$ sudo ufw enable
To disable
$ sudo ufw disable
To check the status
$ sudo ufw status
What is GUFW?
Gufw is an easy way to manage your UFW Ubuntu firewall.GUFW is simple GUI for UFW.
To instal GUFW in ubuntu use this command
sudo apt-get install gufw
or
Download Debian installer file for your Ubuntu version from this link
https://launchpad.net/gui-ufw/+download
To configure GUFW
Go to applications-> Internet-> Gufw Firewall Configuration.

