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). And since Linux is often considered the most secure operating system available, it’s a bit surprising why the OS doesn’t default to enabling the firewall, and includes a GUI tool that uses the firewall that even novice users can take care of.
Fortunately, there is a straightforward GUI application that you can install to enable and make working with Uncomplicated Firewall a very simple endeavor. The only caveat is that the installation of the GUI requires you to run a single command.
Also: Thinking of switching to Linux? 9 things you need to know
I will walk you through the installation of the UFW GUI and how to use it.
Don’t worry, anyone can handle this simple task.
How to install UFW GUI
What you will need: To make this process work, you’ll need a running instance 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 the required dependencies for the GUI and install everything without any problems.
Using the GUI
You should now see that every port associated with Samba has been added as a firewall rule. Once you allow Samba through the firewall, those who need to access your shared directories will still be able to do so, while the rest of the ports on your machine will be locked down.
Although Linux is considered one of the most secure operating systems on the market, some more user-friendly distributions could use a helping hand to make them more secure.