# QoS configuration for OpenWrt
# INTERFACES:
config interface wan
option classgroup "Default"
option enabled 1
option upload 512
option download 512# RULES:
config classify
option target "Bulk"
option ipp2p "all"
config classify
option target "Bulk"
option layer7 "edonkey"
config classify
option target "Bulk"
option layer7 "bittorrent"
config classify
option target "Priority"
option ports "22,53"
config classify
option target "Normal"
option proto "tcp"
option ports "20,21,25,80,110,443,993,995"
config classify
option target "Express"
option ports "5190"
config default
option target "Express"
option proto "udp"
option pktsize "-500"
config reclassify
option target "Priority"
option proto "icmp"
config default
option target "Bulk"
option portrange "1024-65535"
config reclassify
option target "Priority"
option proto "tcp"
option pktsize "-128"
option mark "!Bulk"
option tcpflags "SYN"
config reclassify
option target "Priority"
option proto "tcp"
option pktsize "-128"
option mark "!Bulk"
option tcpflags "ACK"config classify
option target "Bulk"
option dsthost "192.168.1.115" #DOESN'T WORK IF THERE IS LIMITRATE IN THE CLASS BULKconfig classify
option target "Bulk"
option srchost "192.168.1.115" #DOESN'T WORK IF THERE IS LIMITRATE IN THE CLASS BULK# Don't change the stuff below unless you
# really know what it meansconfig classgroup "Default"
option classes "Priority Express Normal Bulk"
option default "Normal"config class "Priority"
option packetsize 300
option packetdelay 10
option maxsize 400
option avgrate 40
option linksharing 75
config class "Priority_down"
option packetsize 1500
option avgrate 20config class "Express"
option packetsize 1300
option packetdelay 15
option maxsize 800
option avgrate 30
option linksharing 80config class "Normal"
option packetsize 1500
option packetdelay 150
option avgrate 20
option linksharing 30
config class "Normal_down"
option avgrate 30config class "Bulk"
option linksharing 10
option limitrate 20 #THIS OPTION DOESN'T WORK IF IN THE CLASSIFY THERE IS SRCHOST OR DSTHOST
config class "Bulk_down"
option avgrate 15
option limitrate 85
Topic: qos-scripts error
The content of this topic has been archived on 30 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
Page 1 of 1
The discussion might have continued from here.
Page 1 of 1