Ubuntu is one of the most user-friendly Linux distributions on the market. It is also one of the most widely used open source operating systems (OS). Given that Linux is often considered the most secure operating system available, it is a bit puzzling why the operating system does not by default enable the firewall, and include a GUI tool to make using the firewall something that even new users can take care of.
Fortunately, there is a straightforward GUI application that you can install to make enabling and working with your uncomplicated firewall very simple. The only caveat is that installing the GUI requires you to run a single command.
Also: Are you thinking about switching to Linux? 9 things you need to know
I will walk you through the process of installing the UFW GUI and how to use it.
Don’t worry, anyone can handle this easy task.
How to install UFW GUI
What you will need: To make this process successful, you’ll need a running copy of Ubuntu — or any Ubuntu-based distribution — and a user with sudo privileges.
also: The Best VPN Services (And How to Choose the Right One for You)
That’s it. Let’s get to work.
sudo apt-get install gufw -y
The above command will pick up any necessary GUI dependencies and install everything without any problems.
Using the graphical user interface
You should now see that every port associated with Samba has been added as a firewall base. Once you allow Samba to penetrate your firewall, those who need access to your shared directories will still be able to do so, while the rest of the ports on your machine will be closed.
Even though Linux is considered the most secure operating system on the market, some of the more user-friendly distributions could still use a helping hand to make it more compact.