This may help as well http://www.mbeaton.id.au/debian/debian-5.html#ss5.1
I prefer to use sub chains to identify from the internet or from internal etc I also learnt from a very experienced firewall administrator to use the long switches so anyone else can easily read the scripts J.A. de Vries wrote: > Hi Yuriy, > > I'll follow up on my own answer to clarify things a bit more. > > In my previous message I showed you one way to initialize your iptables > ruleset. That ruleset itself is nothing more than a simple shell script > containing instructions for iptables on what to do with specific types > of network traffic. Google will help you locate a whole lot of examples > to start with. > > Here's a URL to a very good tutorial on how to write your own ruleset: > > http://iptables-tutorial.frozentux.net/ > > HTH > > Grx HdV > > P.S. <shameless plug>I once wrote an article on how to get up and > running with iptables. You can read it here > http://huizen.dto.tudelft.nl/devries/security/iptables_example.html. > Note however that this page will be updated and moved to a new location > later this month (I've recently quit my job over there and thus now I'll > have to relocate my site). > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]