On Mon, Aug 12, 2002 at 02:46:00PM +0200, Daniel Polak wrote: > I tried that but it isn't working. I figured that might be because after the > rdr the proxy has no way of knowing what the original destination port was and > will try to connect on port 21 instead of 42 and 63.
ftp-proxy looks up the original destination with an ioctl through pf, and uses the original address and port to make its outgoing control connection, port 21 isn't hardcoded anywhere. Make sure your ftp-proxy setup is working properly according to the man page (for port 21). Once that works, add an additional redirection to the proxy for the other ports. That should work just fine. Daniel
