From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pascal Hambourg Subject: Re: Iptables proxy to a different network Date: Fri, 09 Feb 2007 18:01:00 +0100 Message-ID: <45CCA8CC.6060205@plouf.fr.eu.org> References: <45CC5A91.4090200@plouf.fr.eu.org> <45CC919C.7030104@plouf.fr.eu.org> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: 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"; format="flowed" To: netfilter@lists.netfilter.org Andrus, Mr. Brian (Contractor) a =E9crit : >=20 > So to properly do this, I _must_ SNAT the connection It is a possibility. > and route them back from system C via system B? "Or", not "and". If you SNAT, the return traffic will be routed properly. > Diagram: >=20 > +---------------+ > | System A | > +-------+-------+ > | > {=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D} > { Internet } > {=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D} > | > +---------------+ +---A.B.C.x-----+ > | Router +--------| System B + > +-------+-------+ +---------------+ > | > +-------+-------+ > | System C | > +---X.Y.Z.x-----+ This is getting complicated... In your first message, you said that A (the proxy) was a.b.c.1 and B=20 (the server) was x.y.z.1. In this diagram, where are the client, the proxy and the server ?