upgrade the ixp4xx ethernet driver to v0.3.1, split the Gateway 7001 support to two...
[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 300
64 option packetdelay 10
65 option maxsize 400
66 option avgrate 40
67 option linksharing 75
68 config class "Priority_down"
69 option packetsize 1500
70 option avgrate 20
71
72
73 config class "Express"
74 option packetsize 1300
75 option packetdelay 15
76 option maxsize 800
77 option avgrate 30
78 option linksharing 80
79
80
81 config class "Normal"
82 option packetsize 1500
83 option packetdelay 150
84 option avgrate 20
85 option linksharing 30
86 config class "Normal_down"
87 option avgrate 30
88
89
90 config class "Bulk"
91 option linksharing 10
92 config class "Bulk_down"
93 option avgrate 15
94 option limitrate 85
This page took 0.053849 seconds and 5 git commands to generate.