a3a028f5d23409f256d3dc2a1e4d56368580e353
[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 layer7 "edonkey"
14 config classify
15 option target "Bulk"
16 option layer7 "bittorrent"
17 config classify
18 option target "Priority"
19 option ports "22,53"
20 config classify
21 option target "Normal"
22 option proto "tcp"
23 option ports "20,21,25,80,110,443,993,995"
24 config classify
25 option target "Express"
26 option ports "5190"
27 config default
28 option target "Express"
29 option proto "udp"
30 option pktsize "-500"
31 config reclassify
32 option target "Priority"
33 option proto "icmp"
34 config default
35 option target "Bulk"
36 option portrange "1024-65535"
37 config reclassify
38 option target "Priority"
39 option proto "tcp"
40 option pktsize "-128"
41 option mark "!Bulk"
42 option tcpflags "SYN"
43 config reclassify
44 option target "Priority"
45 option proto "tcp"
46 option pktsize "-128"
47 option mark "!Bulk"
48 option tcpflags "ACK"
49
50
51 # Don't change the stuff below unless you
52 # really know what it means :)
53
54 config classgroup "Default"
55 option classes "Priority Express Normal Bulk"
56 option default "Normal"
57
58
59 config class "Priority"
60 option packetsize 400
61 option maxsize 400
62 option avgrate 10
63 option priority 20
64 config class "Priority_down"
65 option packetsize 1000
66 option avgrate 10
67
68
69 config class "Express"
70 option packetsize 1000
71 option maxsize 800
72 option avgrate 50
73 option priority 10
74
75 config class "Normal"
76 option packetsize 1500
77 option packetdelay 100
78 option avgrate 10
79 option priority 5
80 config class "Normal_down"
81 option avgrate 20
82
83 config class "Bulk"
84 option avgrate 1
85 option packetdelay 200
This page took 0.043407 seconds and 3 git commands to generate.