diff --git a/opentrafficshaper.conf b/opentrafficshaper.conf index 5412ca9c0a7ad02283e53899fc9ee8f29ca34480..c5332c9c9005a3e58a8d50a96a89402e04c1bbb8 100644 --- a/opentrafficshaper.conf +++ b/opentrafficshaper.conf @@ -29,16 +29,30 @@ # [plugins] # Names of plugins to load, one per line +# NOTE: The ordering is very important + +# Radius support load=radius -load=webserver -load=tc # Statistics +# Must load before webserver if you want graphs load=statistics -load=tcstats + +# Web interface +load=webserver # Statistics live streaming snapin +# Must load after webserver load=webserver/snapins/websockets/statistics +# Traffic shaper +load=tc +# Traffic shaper interface to statistics +# Must load after statistics +# Must load after tc +load=tcstats + + + # # General shaping settings # @@ -90,10 +104,10 @@ rate=100000 # If Limit is not specified it defaults to CIR # if the class definition is omitted, defaults to rate of interface # The CIR and Limit are specified in Kbps or percentage -class_rate=1:10 +class_rate=1:10000 class_rate=2:5%/5% class_rate=3:5% -class_rate=4:5/10 +class_rate=4:5000/10000 class_rate=5:5% class_rate=6:5% @@ -101,10 +115,10 @@ class_rate=6:5% name=LAN Interface rate=100000 -class_rate=1:10 +class_rate=1:70000 class_rate=2:5%/5% class_rate=3:5% -class_rate=4:5/10 +class_rate=4:3000/5000 class_rate=5:5% @@ -126,17 +140,6 @@ dictionary=dicts/dictionary.allworldit # TC Plugin # [plugin.tc] -# Interface used for transmission of traffic to client -txiface=eth1 -# Interface used for the receiving of traffic for client -rxiface=eth0 - -# Rates of both interfaces -# This is in Mbit/s!! -# Defaults to 100 each -txiface_rate=100 -rxiface_rate=100 - # Protocol to filter on, 99% of the time it will be "ip" # If however you're filtering VLAN Q-in-Q traffic, set this to 0x88a8 #protocol=ip