<[email protected]> writes:

> In my rc.conf.local, i added these 2 lines
> ftpproxy_flags=""
> ftpproxy_flags="-R 172.17.2.21 -p 21 -b 10.10.10.10"

That way you set the variable twice, only the last one is actually used.

> Is it good ? (my ftp server is 172.17.2.21 and Ext_IP : 10.10.10.10")
> At reboot, i have only 1 ftp-proxy started, is it normal?

Yes, if you want two separate proxies, you need to run the second on
some other port and with a separate set of startup options.  Keep the
ftpproxy_flags="" part in your rc.conf.local, but put the magic for
the second one in rc.local much like you would for any non-default
daemon, and adjust the pf rules so the traffic hits the relevant proxy
and the back end.

- P
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

Reply via email to