Easy torrent shaper for home use revised
-
This is an update (fine tune) of my "easy torrent shaper for home use" (see http://forum.pfsense.org/index.php/topic,58781.0.html for details).
Q: How does this manage to identify ALL the torrent traffic?
A: All outgoing connections are low priority by default - you specify the high priority traffic, all incoming connections are high priority by default - you specify the low priority traffic.Q: Why would I want this?
A: You can leech and seed more efficient, all the time, while at the same time surf the web quickly, watch smooth HD streams…Q: What do I have to keep in mind?
A: You need to scale all the values given as Kbits/s to suit your connection speeds. You also need to write some firewall rules to queue your traffic (examples given below).The shaper:
Incoming Parent: HFSC (LAN interface)
Options: RED, ECN
Bandwidth: 6912Kbit/s
Upperlimit: - - 6912Kbit/s
Realtime: - - 6912Kbit/sIncoming "qDefault"
Options: Default, RED
Bandwidth: 40%
Upperlimit: 95% 50 90%
Realtime: 80% 300 60%
Shared: - - 40%Incoming "qLow"
Options: RED, ECN
Bandwidth: 10%
Upperlimit: 95% 100 85%
Realtime: - - -
Shared: 0% 50 40%Outgoing Parent: HFSC (WAN interface)
Bandwidth: 736Kbit/sOutgoing "qACK" [2]
Options: None
Bandwidth: 40Kbit/s
Upperlimit: - - -
Realtime: - - 40Kb
Shared: - - 40KbOutgoing "qHigh"
Options: RED, ECN
Bandwidth: 40%
Upperlimit: 95% 50 90%
Realtime: 70% 100 60%
Shared: - - 40%Outgoing "qDefault"
Options: Default, RED, ECN
Bandwidth: 10%
Upperlimit: 90% 300 70%
Realtime: - - -
Shared: 0% 200 10%Attached images show some firewall rule examples to use with this shaper:
- The first one shows examples on how to prioritize outbound (eg web) traffic.
- The second one shows examples on how to de-prioritize inbound (eg torrent) traffic.
-
Nice write up.
i've already created "reversed" torrent shaper.. So I do allow torrent to be used, but if you can use it with ~10kbps connection ;D