From: "Srinivasa Hebbar" Subject: NAT & FORWARDING Date: Thu, 29 Jan 2004 19:53:10 +0530 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <003601c3e673$78521a60$3d40000a@wisdom> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: To: Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Hello, I believe that the NAT PREROUTING and POSTROUTING will always takes place for all the incoming/outgoing packets irrespective of whether the packet is destined to the node or not. I have a situation that if the dest. IP address of the packet is for the local node, then apply NAT rule, otherwise it should simply forward the packet according to the routing table. How can I achieve the above? Any help is very much appreciated. Regards, S. Hebbar.