From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Subject: using iptables to redirect services to another machine Date: Wed, 09 Jul 2003 23:23:25 -0400 Sender: netfilter-admin@lists.netfilter.org Message-ID: Reply-To: ast.000@sympatico.ca Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: 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"; format="flowed" To: netfilter@lists.netfilter.org I would like to know if the following is possible to do with iptables and if so, how. Can I use iptables to set up a machine to act as a proxy? I want any incoming traffic on particular ports to be forwarded to another machine on different ports. The proxy machine wouldn't be acting as a gateway or hiding private IP space or anything like that. I've been playing with this myself for some time but my knowledge of iptables seems to be severely lacking. Some specific information I would like to know is do I need two interfaces on the proxy machine and what the routing table might look like. Andrew