On Tue, 26 Oct 2004, Ed wrote:
I have a slight problem. I have a web server on 192.168.1.38, with 83.146.42.163:80 rdr to that address. There is a PF box between 192.168.1.0/24 and 83.146.42.160/28.
I cannot use passive FTP to connect to 192.168.1.38 as the client attempts to connect directly to the RFC1918 address.
ftp-proxy has a reverse mode (-R) that you might want to look into.
Also, some FTP servers have a special option for NAT that makes them reply with another address (83.146.42.163 in your case). For example pureftpd calls it "masquerade". That might help as well.
-- Cam