From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mart Frauenlob Subject: Re: Who can give me any existing iptables rules for reference? Date: Tue, 09 Feb 2010 17:53:26 +0100 Message-ID: <4B719306.7080709@chello.at> References: <28efc0211002060450n782f9273i9489e289dbc62407@mail.gmail.com> Reply-To: netfilter@vger.kernel.org Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <28efc0211002060450n782f9273i9489e289dbc62407@mail.gmail.com> Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Cc: netfilter@vger.kernel.org, supercodeing35271@gmail.com On 06.02.2010 13:50, netfilter-owner@vger.kernel.org wrote: > Hi,i'm a rookie.As learning netfilter/iptables for the first time,i > wanna look some good existing iptables rules scripts as that i think > reading good rules scripts will be useful. > So anyone here can share some rules or tell me where to see any good > rules scripts. I must underline that i just need some references,i do > not have any other reason about this. > Thank every one. Hello, you need to understand the concepts for writing good rule-sets. Example scripts of course will help to understand. Here's a tutorial (not 100% up to date) including sample scripts: http://www.frozentux.net/iptables-tutorial/iptables-tutorial.html You might also read this one: http://jengelh.medozas.de/documents/Perfect_Ruleset.pdf One page generally helpful: http://www.linux-ip.net/ Also i think there are O'reilly books out there. Best regards Mart