website/content/blog/limitbandwidth.md
2020-02-16 17:46:18 -05:00

735 B

title date draft tags
Limit Bandwidth through Terminal 2020-01-15T19:51:45-05:00 false
linux
network

Have you ever wondered how an application or a system would operate under low bandwidth environments? Luckily wondershaper is a tool to help with just that!

sudo apt install wondershaper

To get started, first find out the network interface that you want to throttle.

ip addr show

To show the state of the interface,

sudo wondershaper [interface]

To set the bandwidth,

sudo wondershaper [interface] [downlink] [uplink]

where downlink and uplink are defined in kilobits per second.

To clear the rules,

sudo wondershaper clear [interface]