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