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

I am getting complaints that I consume lots of internet bandwidth so is there any software that can limit internet bandwidth on my computer from my own computer. I use Firefox as browser and use bittorrent and download software from software center.

(is there a way to monitor it?)

share|improve this question
up vote 34 down vote accepted

You have 2 easy to use via terminal. Wondershaper and Trickle. There are more here: How to limit internet speed?

Anyway the basics are:

sudo apt-get install wondershaper

In terminal find out what is the name of the interface connected to your internet by using ifconfig. Could be eth0, eth1, eth2, etc... In my case is eth1. So, I would do this:

sudo wondershaper eth1 1024 256

This will give me a Download speed of 1024 Kbits and 256 Kbits Upload. Which are 128KB and 16KB.

If you want to reset that do this sudo wondershaper clear eth1

NOTE: That will limit ANYTHING in your PC, for example the torrent downloader, firefox, etc..

Another program is Trickle

To install do this:

sudo apt-get install trickle

To use use ifconfig to see what interface you are using for internet and then:

sudo trickle -d 120 -u 32

That is 120KB download and 32KB upload.

In my case I recommend wondershaper.

If you want more info for any of the two after installed type man wondershaper or man trickle depending on the one you installed.

share|improve this answer
Is it possible to limit/reverse internet bandwidth for each program instead of per device? – Nur May 2 '13 at 1:41
@Nur For what I know, it is possible but involves some kernel editing and other stuff outside of the user space. It would be awesome to have a similar approach as tools like the Windows Netlimiter. Of course netlimiter connects a process that manages the connection sharing, but the idea remains the same and would help a lot in network cases where this applies. – Luis Alvarado May 2 '13 at 1:43
Trickle can do that… trickle -u (upload limit in KB/s) -d (download limit in KB/s) application – kenn Jan 25 '14 at 13:06
WARNING: as of writing this comment trickle only works for 32-bit operating systems, it does not support 64-bit – Karl Morrison Jun 29 '15 at 18:52
I might have to rephase because a person was able to get it working on 64bit vivid apparantly. I put a bug report in the github if you want to see more. Im running 14.04 and it does not work. – Karl Morrison Jun 30 '15 at 8:13

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.