Bumping an old thread
I just got egress and ingress bandwidth throttling for blue working by using Wondershaper:
I downloaded the zip of their master branch and unzipped it into /root. Then I added the following commands to /etc/sysconfig/firewall.local:
In the start section:
# Rate-limit Blue clients. /root/wondershaper-master/wondershaper -a blue0 -u 2048 -d 1024
In the stop section:
# Undo Blue rate limit. /root/wondershaper-master/wondershaper -c -a blue0
I tested using a speedtest website from a laptop connected to blue, and it works like a charm.
I already had the IPFire QoS engine enabled (without any rules/classes/etc). I’m not sure if that’s necessary or not.
You may need to add the stop command to the start section if IPFire sets any qdisc or classes on blue0 before this script runs. Wondershaper doesn’t handle there being any existing QoS settings on blue0 already.