From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vigneswaran R Subject: Re: OUTPUT: nat after filter (2nd nat). Please help :( Date: Tue, 14 May 2013 11:37:11 +0530 Message-ID: <5191D48F.3010301@atc.tcs.com> References: <5191CBDC.6020603@atc.tcs.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: "krzf83@gmail.com" Cc: "netfilter@vger.kernel.org" On 05/14/2013 11:27 AM, krzf83@gmail.com wrote: > Unfortunetly postrouting has not DNAT (only SNAT). Oops.. I missed that. > I figured only option is to rewrite all filters with conntrack and > --ctorigdst --ctorigdstport, but contrack has to iprange. Only other > option is to put filter rules in raw or mangle table. Both require > huge rewrite of filter rules and thats only because iptables can't > filter before DNAT :/ weird. I think, if you give more details about your setup, people can help. Regards, Vignesh