Select Page

How to configure firewall in Linux servers

How to configure firewall in Linux servers

When you hear the term “hacker”,  you picture a computer whiz kid in a dark room, typing away mysterious code on a green lit computer – or that’s what the popular image is.

The depiction of a hacker may change, but one thing is common – They all attack from a remote location over the network. No one pictures a hacker physically accessing your server to steal the data.

how to configure firewall in Linux - Ethan Hunt

Unless you’re thinking of Tom Cruise in Mission Impossible, of course

Now, assuming that you are not targeted by a super secret spy agency, virtually 100% of attacks on your server will be through the network – Many of which can be blocked by a well configured firewall.

Read : A complete guide on how to secure a server

Today, we’ll take a look at how to configure firewall in Linux servers.

Which Linux firewall should you choose?

A quick Google search will give you a long list of firewalls for Linux. You’d come across IPTables, Netfilter, Shorewall, Endian, CSF, APF, and more.

In reality, the de-facto firewall in Linux is IPTables (aka Netfilter). All others are  built on top of it with varying degrees of user friendly configuration settings.

How to configure firewall in linux servers - IPtables - same wine different bottles

IPTables is the wine packaged in different bottles like Endian, Shorewall, etc.

It really doesn’t matter which one you choose, as long as you know what to look out for. This post is about what are the common threats, and how to mitigate them.

So, without further ado, let’s get to it.

NEXT PAGE >>

 

For as low as

$74.99/server/mo

Get full spectrum infrastructure management services – including setup, monitoring & maintenance.

Never again face a critical business downtime. We keep your servers secured, optimized and updated at all times. Our engineers monitor your servers 24/7 and fix issues before it can affect your customers.

SEE SUPPORT PLANS


Submit a Comment

Your email address will not be published. Required fields are marked *

Bobcares
Bobcares is a server management company that helps businesses deliver uninterrupted and secure online services. Our engineers manage close to 51,500 servers that include virtualized servers, cloud infrastructure, physical server clusters, and more.
MORE ABOUT BOBCARES