On Thu, 25 May 2006, Gaby vanhegan wrote:
> Is there a working pf.conf that anyone can share with me?  I can  
> connect to the server but PASV mode fails with the normal error that  
> it can't make the data connection.

You have to run two instances of the proxy.  One as normal that listens on 
the default port 8021 that your internal clients can use.  And another one 
that you will force to one server.  We'll pick port 8022 for this one, 
fill in $int_server_ip yourself:

ftp-proxy -p 8022 -R $int_server_ip

Then it the redirect section:
rdr pass on $ext_if from any to $ext_server_ip port 21 -> 127.0.0.1 port 8022


--
Cam

Reply via email to