Open Snitch Firewall for Linux


Linux is a very powerful operating system, no doubt. There are tons of customizability and administrative power over the default system. In fact, anyone can tweak the system to the best possible environment one prefers. In the arsenal of all the tools, the firewall is a very important one.

However, the default firewall present in almost all the Linux distros is pretty barebones and hard to manage. That’s not any type of problem for an advanced and experienced user, but this doesn’t appeal the slightest bit to new Linux users or every day general users. Even I find it difficult to navigate through firewall rules and managing them properly.

That’s why there are the GUI tools that can make the task a lot easier. With a clean interface and easy functions, you can manage your internet connection at your own will. Today, we’ll be doing that with the help of Open Snitch – a GUI firewall program for Linux.

Preparing system

Open Snitch has to be built from source. That won’t be an issue. Just follow the steps and everything should be fine. This program is built using the Go language, that’s why we’re going to install that first.

At first, let’s take backup of the file edits, in case of any problem.

Run this command for editing “.bash_profile” file:

At the end of the file, add the following lines:

Close the editor by pressing “Ctrl + X”. When prompted, choose to save and use the default file name. Then, reload the file into system.

Download the latest version of Go from Google. At present, the latest version is go1.10.3.

For Debian/Ubuntu users, you can easily install it using a single command line.

Open Snitch devs only specify dependencies for Debian/Ubuntu, but for other Linux distros, you have to check out all of them by yourself. These should be available on your distro’s official repository. For installing Go, run the following commands:

Downloading and installing Open Snitch

After everything is good to go, run the following commands for getting 2 important dependencies for the firewall program.

Then, grab the Python related dependencies for Open Snitch.

Clone the source code of Open Snitch:

If you face error like Go “there are no files”, move working folder to the appropriate directory with the following command:

Build the program:

Install the app daemons:

Now, Open Snitch should be available through your distro’s launcher. If you didn’t find it, you can run it with the following command:

Using Open Snitch

Just keep the firewall running and you’ll get notifications on what apps are doing what things. You can easily make sure that apps are behaving according to your own needs. If you’re an advanced user and wish to try out the classic Linux firewall, check out iptables.

Spread the love
  • 10

PS. If you like this post please share it with your friends on the social networks using the buttons above.Thanks.


Please enter your comment!
Please enter your name here