medsource
13-02-2007, 23:53
Ok, so I've got my FTP server up and running smoothly (so long as the brute force attacks stay away). Now I want to limit the amount of outbound traffic from the FTP server so that I can still use my network while my users are using the server from the outside.
I set a 60k/s limit in the web gui bandwith limit page for ports 20 & 21 in the upload table, hit apply and also rebooted.
I then checked an FTP dl from an outside network and I was getting full speed (on the order of 90-100k/s). So, basically the throttle doesn't seem to be working and if anyone is FTP'ing while I'm trying to use my network all additional traffic is stalled because I'm then saturated.
Am I using the wrong ports? Am I missing some key step? Does the custom firmware 2a (version I'm running) break either the bandwidth throttle feature?
I'm kinda leaning away from running a new instance of vsftpd with the throttle set in the vsftpd.conf as (as far as I can tell) whenever I add/delete/change users on the FTP server, the vsftp reboots and the uses the built in vsftp.conf and would necessitate a full router reboot to force the new vsftpd.cond via rc.local at boot-time.
Any thoughts are appreciated.
I set a 60k/s limit in the web gui bandwith limit page for ports 20 & 21 in the upload table, hit apply and also rebooted.
I then checked an FTP dl from an outside network and I was getting full speed (on the order of 90-100k/s). So, basically the throttle doesn't seem to be working and if anyone is FTP'ing while I'm trying to use my network all additional traffic is stalled because I'm then saturated.
Am I using the wrong ports? Am I missing some key step? Does the custom firmware 2a (version I'm running) break either the bandwidth throttle feature?
I'm kinda leaning away from running a new instance of vsftpd with the throttle set in the vsftpd.conf as (as far as I can tell) whenever I add/delete/change users on the FTP server, the vsftp reboots and the uses the built in vsftp.conf and would necessitate a full router reboot to force the new vsftpd.cond via rc.local at boot-time.
Any thoughts are appreciated.