From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dharanikanth Dugginni Subject: DNAT - newbie question Date: Thu, 28 Jul 2005 15:36:19 -0700 Message-ID: <7f22af9005072815367ee89a78@mail.gmail.com> Reply-To: Dharanikanth Dugginni Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org Hello, How do I dynamically change the destination address when performing the DNAT functionality? Lets suppose a host h1 is sending packets to addr N1 (this is the addr for NAT box) I want to change this addr to a different addr which will not be known until after few packets arrive from h1 to n1. (Appears from the conntrack and NAT tables documenatation that after the first packet, the DNAT table will not be used any more). Is there a way to force subsequent pacekets in the same stream to always use the DNAT table? Any pointers on the dependencies between conntrack and NAT are also highly appreciated. Thanks, -Dhar