Sign up ×

Problem: We are hosting an application on remote server. We need to test it with a limited network bandwidth (for users with bad Internet access).

Question: Can I limit my internet bandwidth (in Fedora 14)? For instance: 128 KB per second.

share|improve this question

6 Answers 6

up vote 27 down vote accepted

You can throttle the network bandwidth on the interface using the command called tc Man page available at

For a simple script, try wondershaper.

share|improve this answer
Link to prompt for username/password authorisation for me... :( –  Ash Jun 15 '14 at 1:25
You can get to the atmail content here:… –  Tom Saleeba May 7 at 6:55
better late than never if your gonna use a busybox router a better method is the tc command, you can check out mark's post here… the openvz wiki has more examples –  wiak Jul 31 at 4:08

Limiting network resources based on some criterias is the subject of QoS. There are several different ways to control user traffic on Linux systems.

There is a good How-to about advanced routing techniques and traffic control on Linux by Bert Hubert.

share|improve this answer
Were you referring to a particular section in it? –  rogerdpack Apr 23 at 16:21

If you already have an Apache setup somewhere, you can use mod_bw, which also works on proxied connections (i.e. Apache just forwards everything to the proper server, but slows the responses down.)

share|improve this answer

As noted in previous answer, wondershaper does the job easily. I include the information from above link by Jwalanta Shrestha

apt-get install wondershaper

wondershaper - An easy tool to limit bandwidth of a particular interface.

$ sudo wondershaper {interface} {down} {up}

the {down} and {up} are bandwidth in kpbs

So for example if you want to limit the bandwidth of interface eth1 to 256kbps uplink and 128kbps downlink,

$ sudo wondershaper eth1 256 128

To clear the limit,

$ sudo wondershaper clear eth1 
share|improve this answer
Ideally, you should have just edited the original answer instead of adding a new one. This is the standard policy. Anyways, +1 for your answer, for it does add information to the answers. –  shivams Jun 11 at 16:22

Dummynet does what you want and more, you can even control the latency, random packet loss and lots more.

share|improve this answer

If your application is exposed via http/https then you can use firefox-throttle else use NIST which is a network emulation package.

share|improve this answer

Your Answer


