Tutorial simple Linux firewall configuration using NetFilter / iptables

by Vivek Gite on December 4, 2006 · 5 comments

David Mair has published a simple Linux firewall configuration tutorial. He will walks you through the creation of a simple iptables firewall explaining how it works along the way.

From the article:
Most major Linux distributions, SuSE ones included, feature some user interface for firewall configuration. There's nothing wrong with them but I couldn't get quite the configuration I wanted and chose to create configurations manually. The iptables man pages are really a documentation of syntactical detail of the iptables command line and don't provide guidance on composition of a firewall from a series of rules. There's a lot of scattered information about iptables that can be found using your favourite search engine but none of it quite taught me what I needed to know. In the end I figured out what I needed using a Vmware virtual machine running SuSE Linux Pro 10.0. The following is offered as documentation of simple firewall configuration using iptables. Verifying that the resultant firewall adequately secures the relevant hosts is left as an exercise for the reader.

Simple Firewall Configuration Using NetFilter/iptables

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

We're here to help you make the most of sysadmin work. So, subscribe!

{ 5 comments… read them below or add one }

1 rbz December 4, 2006

Very handy guide, thanks for sharing with us :)

Reply

2 rashan February 1, 2007

thaneks for help

Reply

3 hamada March 13, 2007

hi , thanks for sharing with us

i wonder if that rules can be used on cento’s box or it is only for suse

Reply

4 nixcraft March 13, 2007

Hello hamada,

It should work with any distro including Cent OS

HTH

Reply

5 N.Shankar August 11, 2007

hi this is a very helpful guide

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 14 + 9 ?
Please leave these two fields as-is:
Are you a human being? Solve the simple math so we know that you are a human and not a bot.



Previous post:

Next post: