Skip to content

Limit internet bandwidth

Limiting internet bandwidth becomes useful in multiple occasions such as:

  • when using a metered internet connection
  • testing websites/applications on a slow internet etc

There is an easy way to limit the internet traffic on a Linux machine. wondershaper is a Command-Line Interface tool build exactly for that purpose.

In order to use wondershaper, in must have root access to the Linux machine. wondershaper does not need a global installation (although a global installation comes handy). One could use it by simply cloning the git repository to the local machine.

Installation

First, clone the repository to local file system.

git clone https://github.com/magnific0/wondershaper.git

Change the current working directory.

cd wondershaper

Execute the wondershaper binary with the -h flag to get a list of flags.

./wondershaper -h