out_rules {
name = "download-tcp-ack";
filter = "tcp and len <= 64";
priority = 3;
limiters = "default-out";
} {
name = "dns";
filter = "udp port 53";
priority = 2;
limiters = "default-out";
} {
name = "fon-rtp";
filter = "udp[8] = 0x80 or udp port 5060";
priority = 3;
limiters = "default-out";
} {
name = "http-requests";
filter = "(tcp dst port 80 or dst port 8080 or dst port 3128) and (len <= 800)";
priority = 2;
limiters = "default-out";
} {
name = "pri-out";
filter = "icmp";
priority = 2;
limiters = "default-out";
} {
name = "p2p";
filter = "ip[1] = 0x02 or tcp port 4662";
priority = 0;
limiters = "default-out";
} {
name = "default";
filter = "";
priority = 1;
limiters = "default-out";
}
bps_limit {
limit_total = 100;
limit_p0 = 97;
limit_p1 = 95;
limit_p2 = 95;
limit_p3 = 99;
}
out_rules {
name = "download-tcp-ack";
filter = "tcp and len <= 64";
priority = 3;
limiters = "default-out";
} {
name = "dns";
filter = "udp port 53";
priority = 2;
limiters = "default-out";
} {
name = "fon-rtp";
filter = "udp[8] = 0x80 or udp port 5060";
priority = 3;
limiters = "default-out";
} {
name = "http-requests";
filter = "(tcp dst port 80 or dst port 8080 or dst port 3128) and (len <= 800)";
priority = 2;
limiters = "default-out";
} {
name = "ftp telnet ssh pop";
filter = "(tcp dst port 21 or dst port 22 or dst port 23 or dst port 25)";
priority = 2;
limiters = "default-out";
} {
name = "p2p";
filter = "ip src 192.168.0.100";
priority = 0;
limiters = "default-out";
} {
name = "pri-out";
filter = "icmp";
priority = 2;
limiters = "default-out";
} {
name = "default";
filter = "";
priority = 1;
limiters = "default-out";
}