website/content/blog/limitbandwidth.md

759 B

title date draft tags medium_enabled
Limit Bandwidth through Terminal 2020-01-15T19:51:45-05:00 false
Linux
Networking
true

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]