This is a script that allows you to limit the bandwidth of one or more network adapters. Real users have always used the iproute-tc package (pronounced “ipe-route” and not “i-prout,” please), which is a tool for controlling network traffic. But to get to the essentials without getting a headache, it’s best to turn to Wonder Shaper.
Wonder Shaper uses TC from Iproute but simplifies its operation completely. To install it, clone this repository:
git clone https://github.com/magnific0/wondershaper.git
Navigate to the repository and run the command like this:
./wondershaper -a eth0 -u 4096 -d 8192
Replace “eth0” with the name of your network interface (ifconfig will help you identify them). Then specify the amount of upload you want to allow with the “-u” parameter. Here it’s 4 Mbps. And with the “-d” parameter, the amount of download. Here it’s 8 Mbps.
And that’s it. It’s not more complicated than that.
Wonder Shaper can also be set up persistently, so if you want to learn more, go to the Github page.”
Leave a Comment