update qos-scripts to v1.1 - rewritten hfsc rate calculation
[openwrt.git] / package / qos-scripts / files / etc / config / qos
1 # QoS configuration for OpenWrt
2
3 # INTERFACES:
4 config interface wan
5 option classgroup "Default"
6 option enabled 1
7 option upload 128
8 option download 1024
9
10 # RULES:
11 config classify
12 option target "Bulk"
13 option ipp2p "all"
14 config classify
15 option target "Bulk"
16 option layer7 "edonkey"
17 config classify
18 option target "Bulk"
19 option layer7 "bittorrent"
20 config classify
21 option target "Priority"
22 option ports "22,53"
23 config classify
24 option target "Normal"
25 option proto "tcp"
26 option ports "20,21,25,80,110,443,993,995"
27 config classify
28 option target "Express"
29 option ports "5190"
30 config default
31 option target "Express"
32 option proto "udp"
33 option pktsize "-500"
34 config reclassify
35 option target "Priority"
36 option proto "icmp"
37 config default
38 option target "Bulk"
39 option portrange "1024-65535"
40 config reclassify
41 option target "Priority"
42 option proto "tcp"
43 option pktsize "-128"
44 option mark "!Bulk"
45 option tcpflags "SYN"
46 config reclassify
47 option target "Priority"
48 option proto "tcp"
49 option pktsize "-128"
50 option mark "!Bulk"
51 option tcpflags "ACK"
52
53
54 # Don't change the stuff below unless you
55 # really know what it means :)
56
57 config classgroup "Default"
58 option classes "Priority Express Normal Bulk"
59 option default "Normal"
60
61
62 config class "Priority"
63 option packetsize 400
64 option maxsize 400
65 option avgrate 10
66 option priority 20
67 config class "Priority_down"
68 option packetsize 1000
69 option avgrate 10
70
71
72 config class "Express"
73 option packetsize 1000
74 option maxsize 800
75 option avgrate 50
76 option priority 10
77
78 config class "Normal"
79 option packetsize 1500
80 option packetdelay 100
81 option avgrate 10
82 option priority 5
83 config class "Normal_down"
84 option avgrate 20
85
86 config class "Bulk"
87 option avgrate 1
88 option packetdelay 200
This page took 0.044063 seconds and 5 git commands to generate.