From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pascal Hambourg Subject: Re: iptables NAT routing issues Date: Wed, 09 May 2007 00:33:52 +0200 Message-ID: <4640FAD0.9050301@plouf.fr.eu.org> References: <4640E893.1010206@bserved.nl> 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 Hello, Jan Engelhardt a =E9crit : > On May 8 2007 23:16, Bas Verhoeven wrote: >=20 >>OUTBOUND SERVER: >> >>iptables -t nat -A PREROUTING -p tcp --dport 80 -d -j DNAT >>--to-destination :80 >> >>Note: We didn't touch this as it seems to works fine. >> >>WEBSERVER: >=20 > You do not need any rules here. The outbound server will do the transla= tion > in both directions. Assuming that the outbound server is the default gateway for the web=20 server and receives the return traffic, of course.