I was wondering if there's a way to configure my router (using linux tc/iptables) to limit download bandwidth for certain streams (such as bittorrent) when the total download bandwidth has reached full capacity. More specifically, I have a bittorrent client that hogs the entire bandwidth. I would like to allow it full (or 95%) capacity when not doing anything else but limit it to say 50% when browsing or having a VoIP session.

Is there a way to do this with tc and iptables? I've looked for tc policing but it seems like all examples referred to placing a non-conditioned cap on either the global or class specific bandwith.

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.