prios {
profiles {
name = "profile_http";
rules = "TCP 80 0 0 0";
} {
name = "profile_ftp";
rules = "TCP 20 21 0 0";
} {
name = "profile_emule";
rules = "TCP 0 0 4662 0", "UDP 0 0 4672 0";
} {
name = "profile_torrent";
rules = "TCP 0 0 6881 6999";
} {
name = "profile_rdp";
rules = "TCP 3389 0 0 0";
} {
name = "profile_ssh";
rules = "TCP 0 0 22 0";
} {
name = "profile_telnet";
rules = "TCP 0 0 23 0";
} {
name = "VPN";
rules = "TCP 443 0 443 0";
} {
name = "Usenet";
rules = "TCP 563 0 563 0";
}
}
nqos {
version = 3;
macaddr_whitelist_enabled = no;
bridge_with_switch_separation = yes;
defaultresult {
tos = -1;
vlan_prio = -1;
queueref = "default";
}
appls {
enabled = yes;
name = "sip-appl";
protocol = qos_classifier_appl_sip;
result {
tos = -1;
vlan_prio = -1;
queueref = "hrealtime";
}
}
classifiers {
enabled = yes;
name = "VPN";
type = qos_cfg_other;
iface = qos_lan;
rule = " tcp.sport 443 tcp.dport 443";
result {
tos = -1;
vlan_prio = -1;
queueref = "realtime";
}
} {
enabled = no;
name = "clfy_voip";
type = qos_cfg_internal;
iface = qos_local;
rule = "localmark sip";
result {
tos = -1;
vlan_prio = -1;
queueref = "hrealtime";
}
} {
enabled = no;
name = "clfy_voip";
type = qos_cfg_internal;
iface = qos_local;
rule = "localmark rtp";
result {
tos = -1;
vlan_prio = -1;
queueref = "hrealtime";
}
} {
enabled = yes;
name = "tr069";
type = qos_cfg_hidden;
iface = qos_local;
rule = "localmark sipdns,ntpdns,tr069dns,tr069";
result {
tos = -1;
vlan_prio = -1;
queueref = "hprio";
}
} {
enabled = yes;
name = "igmp";
type = qos_cfg_hidden;
iface = qos_local;
rule = "localmark igmp";
result {
tos = -1;
vlan_prio = -1;
queueref = "ifacectl";
}
} {
enabled = yes;
name = "webdav";
type = qos_cfg_hidden;
iface = qos_local;
rule = "localmark webdav";
result {
tos = -1;
vlan_prio = -1;
queueref = "low";
}
} {
enabled = yes;
name = "mstv";
type = qos_cfg_hidden;
iface = qos_lan;
rule = "udp.dport 43962,47806";
result {
tos = -1;
vlan_prio = -1;
queueref = "hprio";
}
} {
enabled = yes;
name = "icmp-v6";
type = qos_cfg_hidden;
iface = qos_lan;
rule = "ip.proto IPv6-ICMP";
result {
tos = -1;
vlan_prio = -1;
queueref = "hprio";
}
} {
enabled = yes;
name = "icmp";
type = qos_cfg_hidden;
iface = qos_lan;
rule = "ip.proto icmp";
result {
tos = -1;
vlan_prio = -1;
queueref = "hprio";
}
} {
enabled = yes;
name = "dns";
type = qos_cfg_hidden;
iface = qos_lan;
rule = "udp.dport 53";
result {
tos = -1;
vlan_prio = -1;
queueref = "hprio";
}
} {
enabled = no;
name = "clfy_voip";
type = qos_cfg_internal;
iface = qos_lan;
rule = "udp.dport 5060";
result {
tos = -1;
vlan_prio = -1;
queueref = "hrealtime";
applref = "sip-appl";
}
} {
enabled = no;
name = "clfy_fmedia";
type = qos_cfg_internal;
iface = qos_lan;
rule = "dhcpoption 12 FRITZ!Media* mediatab";
result {
tos = -1;
vlan_prio = -1;
queueref = "realtime";
}
} {
enabled = no;
name = "clfy_fmedia";
type = qos_cfg_internal;
iface = qos_lan;
rule = "ethsrctab mediatab";
result {
tos = -1;
vlan_prio = -1;
queueref = "realtime";
}
} {
enabled = yes;
name = "clfy_www";
type = qos_cfg_system;
iface = qos_lan;
rule = "ip.proto == tcp ip.len <= 64";
result {
tos = -1;
vlan_prio = -1;
queueref = "realtime";
}
} {
enabled = yes;
name = "clfy_www";
type = qos_cfg_system;
iface = qos_lan;
rule = "tcp.dest 80,3128,8080 ip.len <= 800";
result {
tos = -1;
vlan_prio = -1;
queueref = "realtime";
}
}
queues {
enabled = yes;
with_sfq = no;
type = qos_cfg_system;
name = "ifacectl";
iface = qos_wan;
queue_type = queue_llq;
precedence = 0;
weight = 0;
shapingrate = 0;
shapingburst = 0;
allow_more = yes;
ceilrate = 0;
} {
enabled = yes;
with_sfq = no;
type = qos_cfg_system;
name = "hprio";
iface = qos_wan;
queue_type = queue_llq;
precedence = 10;
weight = 0;
shapingrate = 0;
shapingburst = 0;
allow_more = yes;
ceilrate = 0;
} {
enabled = yes;
with_sfq = no;
type = qos_cfg_system;
name = "hrealtime";
iface = qos_wan;
queue_type = queue_llq;
precedence = 20;
weight = 0;
shapingrate = 0;
shapingburst = 0;
allow_more = yes;
ceilrate = 0;
} {
enabled = yes;
with_sfq = yes;
type = qos_cfg_system;
name = "realtime";
iface = qos_wan;
queue_type = queue_llq;
precedence = 30;
weight = 0;
shapingrate = 0;
shapingburst = 0;
allow_more = yes;
ceilrate = 0;
} {
enabled = yes;
with_sfq = yes;
type = qos_cfg_system;
name = "important";
iface = qos_wan;
queue_type = queue_llq;
precedence = 100;
weight = 90;
shapingrate = 0;
shapingburst = 0;
allow_more = yes;
ceilrate = 0;
} {
enabled = yes;
with_sfq = yes;
type = qos_cfg_system;
name = "default";
iface = qos_wan;
queue_type = queue_llq;
precedence = 100;
weight = 10;
shapingrate = 0;
shapingburst = 0;
allow_more = yes;
ceilrate = 0;
} {
enabled = yes;
with_sfq = yes;
type = qos_cfg_system;
name = "low";
iface = qos_wan;
queue_type = queue_llq;
precedence = 200;
weight = 0;
shapingrate = 0;
shapingburst = 0;
allow_more = yes;
ceilrate = 0;
}
}