DEV Community

Cover image for Firewalls on Linux
amigos-maker
amigos-maker

Posted on

3 1

Firewalls on Linux

If you use Linux, you should consider a firewall. The time that malware and trojans did not exist for Linux has long passed.

Times have changed, Linux is now a target for criminals. This could be for different reasons, like stealing your bitcoins (if you use a software wallet). What can you do?

You can scan your system with programs like Lynis. But that may not be enough..

What are your options speaking in terms of firewalls?

Firewall apps (Port level)

Luckily you are not limited by choices here. There are many firewall apps and even complete firewall distributions.

The popular ones are:

Both of these need command line configuration. UFW can also be configured with a graphical program named gufw, but I find this harder and more confusing than the terminal.

But, there are many others, here's a list if you want to check them out:

Application level firewall

Most of these do packet filtering based on network port. If you want to do application level blocking, you can use OpenSnitch

Yes, this lets you block network access per app. There used to be a firewall named 'Douane firewall' which did the same, but I can't find it anymore.

Related links:

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay