From mboxrd@z Thu Jan 1 00:00:00 1970 From: Antony Stone Subject: Re: Send local traffic to a different server. Date: Thu, 24 Jun 2004 09:46:22 +0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: <200406240946.22212.Antony@Soft-Solutions.co.uk> References: <5EDC9B3CC8401E4184D3B43B75A75C2B46D668@mx.p21.com> Reply-To: Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <5EDC9B3CC8401E4184D3B43B75A75C2B46D668@mx.p21.com> 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@lists.netfilter.org On Wednesday 23 June 2004 4:26 pm, Aldo Lagana wrote: > am i wrong or can you not send traffic to another server simply with > netfilter/iptables rules? Does not that require iproute2? In other words > don't all of the rules assume that the NAT addresses are bound to local > interfaces? No, you can use any address you like in nat rules (both SNAT and DNAT). Whether or not it makes sense is another matter (eg: do the packets get routed back through the machine and get reverse-natted?), however netfilter will allow you to specify whatever you like. Regards, Antony. -- Software development can be quick, high quality, or low cost. The customer gets to pick any two out of three. Please reply to the list; please don't CC me.