On Tue, Oct 21, 2008 at 1:04 PM, Camiel Dobbelaar <[EMAIL PROTECTED]> wrote:
> Use multiple proxies and rdr's for the different lans.

> (ftp-proxy cannot magically determine which address to use based on the
> internal address)

OK, looks like this will work:

rc.conf.local:
ftpproxy_flags="-a r.s.t.u -p 8021"
ftpproxy_flags="-a r.s.t.v -p 8022"

pf.conf
rdr pass on $int_if proto tcp from <alias1_sys> to any port ftp ->
127.0.0.1 port 8021
rdr pass on $int_if proto tcp from <alias2_sys> to any port ftp ->
127.0.0.1 port 8022

I started the second instance of ftp-proxy manually and it worked
fine. As long as rc.conf.local starts up both instances on reboot
(which I can test after hours) than should be good to go.

Thank you,

Chris

Reply via email to