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