How to restrict download bandwidth by host
Posted on 2014-12-15
I have a Linux host that is used as a remote backup computer. The connection has a 25mbps download bandwidth. The problem is that the remote download is using up the whole bandwidth and no one else in the office can use the Internet. The remote Linux computer is doing rsync with -bwlimit=8000, but that appears to not always work. Also, if more than one backup is downloading from that same host, the bwlimit ends up being the aggregate.
Is there a way on the receiving end to limit bandwidth from remote hosts? I'll consider a hardware solution, but since we're about to put a Linux/iptables firewall in front of all LAN hosts, a Linux software solution would be preferable.
In any case, it would be nice to have this tunable so that bandwidth could be unlimited during weekends and non-business hours, but throttled to under 10mbps during the day.