From mboxrd@z Thu Jan 1 00:00:00 1970 From: Feizhou Subject: Re: bypassing a prerouting rule Date: Thu, 24 Jun 2004 13:07:58 +0800 Sender: netfilter-admin@lists.netfilter.org Message-ID: <40DA61AE.5040200@linuxmail.org> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: Manestro Oliveira Cc: netfilter@lists.netfilter.org Manestro Oliveira wrote: > Hi, > I am a begginer to Linux and I have a PREROUTING rule that makes > port redirection on incoming packages. But there is a server that don`t > accept that, and works only without that rule. How can I bypass the rule > for that server specifically? > > If iptables works by matching rules and leaving the other ones > without checking them, then I should insert a rule before that and the > problem is solved. Is this correct? Yes, first match takes effect.