From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Caritj Subject: Rule Ordering Date: Mon, 06 Oct 2003 03:01:58 -0400 Sender: netfilter-admin@lists.netfilter.org Message-ID: <3F811366.1030608@riovia.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: netfilter@lists.netfilter.org Gents, I know the answer to this question is already well documented, but I need to ask anyway because iptables never behaves the way I expect it to in this regard; How, exactly, does rule ordering work for rules added through the iptables userspace tool? For example, say I have a bunch of rules that will be coming and going on a very frequent basis, but I have one that I need to keep last in the evaluation sequence. A that I would just add the rule that needs to stay last with "-A" and all the others with "-I"? I like to give you guys an easy one once in a while ;) -Paul