Hi, at:
www.hanscees.com/sme7/wondershaperbeefedup.htmlI have put a script to base your home-brewn trafficshaping on. I have written it for a specific purpose: to restrict the upload of my local webserver, so we can still surf to the internet. Without alteration, that is what it will do.
However, I have set the script up with much documentation and examples so you can base your own purpose traffic-shaping on it rather easily. So it is not a ready-contrib, but a buildingblock to tinker with yourself. But a damn useful one I think.
The HTBWondershaper script gives you the tools to:
- guarantee some traffic specific bandwidth with HTB filter
- restict specific traffic to limited bandwidth
- to prioritise specific traffic above other traffic
- The rules are set using iptables commands
In lawmens words:
- you can restrict networks/hosts up/download
- you can restrict specific traffic up/down
- you can restrict anything that iptables can filter. So even size of packets, based on time of day and so on.
The script is called HTBWonderhaper and can be found here directly:
www.hanscees.com/sme7/HTBWondershaper Please let me know if you use it or have suggestions. I won't hold it against you if you improve it!
Hans-Cees