Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

This question already has an answer here:

How to control bandwidth upload and download per user or each ip/mac? i tried squid3.0stable25 with delay_pools but its not work. is it really possible to control bandwidth for each host by squid? my isp have 400 more host but they are using open bw. i want to limit there upload and download how to do it? i also try htb but setup failed or not working and didn't get perfect example. please help!!

share|improve this question

marked as duplicate by Oli Oct 27 '13 at 11:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Also see… – belacqua Oct 26 '13 at 20:33

Mastershaper can do this. From their website:

MasterShaper is a network traffic shaper which provides a Web Interface for Quality of Servcie (QoS) functions of newer Linux 2.4- & 2.6-Kernel-Series.

It targets to let users learn and use the traffic shaping mechanism. This should be possible for everyone who has no deeper knowledge of Linux and the difficult syntax of the tc commands from the iproute2 package.

It provides a Web Interface which lets you define bandwidth pipes and filters (based on IP, MAC, ports, protocols, ipp2p, layer7-filter, ...). It also draws some graphs about the current bandwidth usage and distribution. There is no more need for any shell access or privileged users.

Image of the 'ruleset overview':

enter image description here

For downloading

share|improve this answer
Does this handle traffic on a per-user basis? Their documentation PDF has gone walkies so it's hard to verify but the screenshot above suggest this is per-protocol. – Oli Oct 27 '13 at 11:43

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