LinuxCommandLibrary

wondershaper

Simple network bandwidth limiter

TLDR

Limit bandwidth

$ wondershaper [eth0] [1024] [512]
copy
Clear limits
$ wondershaper clear [eth0]
copy
Show current limits
$ wondershaper [eth0]
copy
Using long options
$ wondershaper -a [eth0] -d [1024] -u [512]
copy

SYNOPSIS

wondershaper [-a interface] [-d down] [-u up] | interface down up

DESCRIPTION

wondershaper is a simple shell script that limits network bandwidth on a per-interface basis using Linux traffic control. It provides an easy way to set download and upload speed limits in kilobits per second without needing to understand the complex tc command syntax directly.
The tool works by applying traffic shaping rules to the specified network interface. Limits can be displayed, set, or cleared with straightforward commands. It is commonly used for testing applications under bandwidth-constrained conditions or for preventing a single machine from saturating a shared network connection.

PARAMETERS

-a IFACE

Interface name.
-d KBPS
Download limit.
-u KBPS
Upload limit.
clear
Remove limits.

CAVEATS

Root required. Script around tc. Values in kbps.

HISTORY

wondershaper was created as a simple script to limit network bandwidth using Linux traffic control.

SEE ALSO

tc(8), iptables(8), trickle(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community