You can only start one ftp-proxy with rc.conf. Just start the other one like this in /etc/rc.local (example from my own system, where I bind them to other addresses, you just need the -q and the -p):
# Add your local startup actions here. echo -n ' ftp-proxy' /usr/sbin/ftp-proxy -D6 -a Y -p 8022 -r /usr/sbin/ftp-proxy -D6 -a Z -p 8023 -r On 3-11-2011 12:23, Wesley M. wrote: > I tried this : > added a second ftpproxy_flags in my /etc/rc.conf.local > > So in the file, we have : > ftpproxy_flags="-q ilimit" # Listen by default on 8021 > ftpproxy_flags="-q istd" # > > It doesn't work, it use the last line in /etc/rc.conf.local : istd queue > I suppose that it doesn't listen on the same port 8021 for 2 queue. > > So i try this, add this line to /etc/rc.local : > ftpproxy_flags="-q istd -p8022" > And in my /etc/rc.conf.local : > ftpproxy_flags="-q ilimit" > Restart the box, and do : netstat -anf inet > Listen on 127.0.0.1:8021 and 127.0.0.1:8022, seem to work > But the limit user download now 10Ko/s instead of 20Ko/s. > > I think, it is not the right way to do it. > Is there someone who have a sample ? using -T option for ftp-proxy ? > Thank you very much. > > Wesley. > >> On Thu, 03 Nov 2011 09:02:32 +0100, Camiel Dobbelaar <c...@sentia.nl> > wrote: > >> Run two ftp-proxies: one with the -q ilimit and one with the -q istd. >> >> Then redirect the limited user to one proxy and the rest to the other.