From mboxrd@z Thu Jan 1 00:00:00 1970 From: Antony Stone Subject: Re: Send local traffic to a different server. Date: Wed, 23 Jun 2004 15:58:00 +0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: <200406231558.00325.Antony@Soft-Solutions.co.uk> References: Reply-To: netfilter Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter On Wednesday 23 June 2004 3:08 pm, Brett Simpson wrote: > I've tried a number of different PREROUTING and POSTROUTING rules and can't > seem to make this work. > > I have a system with a single nic (eth0). While I'm on the system via a > shell I would like to connect to 127.0.0.1:6000 and get seemlessly > translated to 207.156.7.15:80. I might as well just check something rather obvious: Can you access 207.156.7.15:80 from the machine we are talking about? ie: assuming we get the NAT to work the way you want, do the packets get to the remote server and the replies back again okay? Antony. -- If you can't find an Open Source solution for it, then it isn't a real problem. Please reply to the list; please don't CC me.