Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 583 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 583 Bytes

Lan/Wan bandwidth limiter

Test with 200 kbits/s download and 20 kbits/s upload limit (local lan bandwidth is not affected)

sudo ./wondershaper eth0 2000 200

see var LAN_SUBNET, line 42 to specifiy your local net mask

Automatic limitation, add the fallowing lines to /etc/network/interfaces

up /usr/sbin/wondershaper <interface réseau> <downspeed> <upspeed>
down /usr/sbin/wondershaper clear <interface réseau>

Based on these pages: