Install gufw – Graphical firewall configuration utility in Ubuntu Linux

Start up the terminal on your system

Install gufw – Graphical firewall configuration utility in Ubuntu Linux
$ sudo apt-get install gufw <enter>

Now you can use the GUI to configure your firewall in Ubuntu Linux.