~/Blog

Brandon Rozek

Photo of Brandon Rozek

PhD Student @ RPI, Writer of Tidbits, 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]

Have any questions or want to chat: Reply via Email

Enjoyed this post?

Published a response to this? :