Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I was wondering if it is possible to set bandwidth quotas to say an FTP server. I currently run vsftpd and I'd like to limit the maximum download speed so I woldn't end up without bandwidth for the rest of the computers using the same line as the server. While I'm at it, how can I limit the amount of simultaneous annomymous logins to the server?
PS: I've read some of the documentation about vsftpd, but I've failed to find the info I'm looking for (or maybe I simply did not understand it).
Did you check the man page for vsftpd.conf? Looks like the options you want are a combination of anon_max_rate, local_max_rate, and max_clients. There doesn't seem to be an option like "limit all connections to a total of xK/sec" though, so you'd have to limit all anonymous users to (x/n)K/sec, where n is the number of users you allow.
Even though I was able to solve my original problem with the FTP server, now I'm onto a more sophisticated issue: Equally balance the amount of available bandwidth between the clients. I have a total available bandwidth of 5mbits/s bidirectional. I have a total of 10 clients, and I was thinking on having a Linux bridge/router to balance the available bandwidth between the clients, however I don't know wheather that is even possible or how can it be attained. The objective would be to have an minimum assured 512kbit/sec bandwidth available for all the clients behind this router/bridge.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.