Securing Your Server with a Firewall – Part 1
Security is one of those things that’s best done in layers. Security-in-depth, we call it. So, on any given corporate network, you will find a firewall appliance separating the Internet from the demilitarized zone (DMZ), where your Internet-facing servers are kept. You will also find a firewall appliance between the DMZ and the internal LAN, and firewall software installed on each individual server and client. We want to make it as tough as possible for intruders to reach their final destinations within our networks.
Interestingly, though, of all the major Linux distros, only the SUSE distros and the Red Hat-type distros come with a firewall already set up and enabled. Newer versions of Ubuntu come with a pre-configured firewall, but you need to activate it by running a couple of simple commands.
Since the focus of this book is on hardening our Linux servers, we’ll focus this chapter on that last level of defense...