From: "postmaster" Subject: Outgoing port is wrong Date: Wed, 1 Mar 2006 13:14:03 +0100 Message-ID: <004f01c63d29$a1818010$7b82a8c0@aladin> Reply-To: postmaster@netje.nl Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: 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="iso-8859-1" To: netfilter@lists.netfilter.org I am having a lot of problems with setting up something relatively easy, = but does not seem to work. =A0 Situation: =A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = +-------------+=A0=A0=A0=A0=A0=A0=A0=A0 |--- Box1=A0 192.168.1.107:15009 = Internet ------| eth0=A0=A0=A0 eth1|---------|--- Box2=A0 = 192.168.1.108:15009 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = +-------------+=A0=A0=A0=A0=A0=A0=A0=A0 |--- Box3=A0 192.168.1.109:15009 =A0=A0=A0=A0=A0=A0=A0=A0 62.59.197.53 =A0=A0=A0=A0192.168.1.1 =A0 I have 3 boxes running the same services in a DMZ. Via the internet, I = want the ability to access the different boxes, based on a different port = number on the out-side. Out-side port 18107 should go to internal 192.168.1.107:15009, 18108 should go to 192.168.1.108:15009 and Port = 18109 should go to 192.168.1.109:15009.=20 This was working, but the new security of the applications does demand = that the services should be able to reinitiate the connection, using the same port as on the way in. So I need to make sure that box1 (192.168.1.107:15009) always uses 62.59.197.53:18107 to connect to the outside.=20 =A0 How do I setup these rules correctly for in and out going? =A0 =A0 Any help is welcome. =A0 =A0=A0 Henri B. =A0 =A0