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