From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: Bug/Problem with DNAT on OUTPUT chain (-t nat -A OUTPUT) that breaks routing? (fwd) Date: Thu, 23 Oct 2003 19:16:23 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <3F980CE7.2050909@trash.net> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Errors-To: netfilter-devel-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: Evan Harris Cc: netfilter@lists.netfilter.org, netfilter-devel@lists.netfilter.org I tried 2.4 and 2.6 with DNAT to 127.0.0.1. The packets were sent on the loopback device as expected. Please send some more information about your specific setup. Best regards, Patrick Evan Harris wrote: >Ok, I've upgraded to kernel 2.4.22, and the same behaviour is being >exhibited. > >To recap the problem: > >Packets being nat'd on the OUTPUT chain of a machine are still being sent on >the same interface they would have without the nat, and ignoring the route >that aims them to the right iface for that dest addr. > >Evan > > > >