Redirecting packet from incoming external interface to a different
jeffreyc at gimi.org
Mon Aug 15 20:04:04 CEST 2005
Here is what I'm looking to do (And please tell me if I'm crazy as I've
been beating my head on this for a week)
I'm looking to take a packet that is incoming on my machine, on port 21
and redirect it to port 3805 on a completely different external machine.
Basically, I'm trying to solve how to make the machine a transparent
proxy on the same external interface. The packets coming in on port 21
can be coming from anywhere on the internet, and will be sent to port
3805 on the remote machine, which then should come back through my box
and back to the clients.
Any ideas on using iptables for this? I dusted off redir and while it
worked it had its occasional issues so I'm trying to bring a better
hammer to beat on the nail.
More information about the netfilter