~/Blog

Brandon Rozek

Photo of Brandon Rozek

PhD Student @ RPI studying Automated Reasoning in AI and Linux Enthusiast.

Limit Bandwidth through Terminal

Published on

Updated on

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]
Reply via Email Buy me a Coffee
Was this useful? Feel free to share: Hacker News Reddit Twitter