~/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

Warning: This post has not been modified for over 2 years. For technical posts, make sure that it is still relevant.

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

Published a response to this? :