Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a linux router providing internet connectivity to several PCs. It's currently using shorewall to help make the iptables setup easier. Is there a way I can set it such that any individual host is prevented from using the entire line? I'm thinking setting the limit at 80%: So any one PC can't use more than 80% of bandwidth, thus if someone is downloading/uploading large files, the connection isn't completely overwhelmed.

share|improve this question
up vote 2 down vote accepted

Take a look at the Linux advanced routing and traffic shaping HOWTO, which has a section bandwidth management. It looks like the HOWTO is unmaintained, but it's still a good place to start. The Traffic control HOWTO also has good information.

share|improve this answer

Shorewall allows limitatin per source aswell as per destination IP. For details see the official homepage

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.