# cat /etc/firehol/fireqos.conf
DEVICE=eth0
INPUT_SPEED=2mbit
OUTPUT_SPEED=2mbit
LINKTYPE=ethernet
interface $DEVICE world-in input rate $INPUT_SPEED $LINKTYPE # removed balanced
class interactive commit 10% # committed traffic
match udp port 53
match tcp port 22
match icmp
match tcp sports 5222,5228
match tcp sports 5223
class surfing commit 80% # committed traffic
match tcp sports 0:1023
class synacks # 1% is the default
match tcp syn
match tcp ack
class default # 1% is the default
interface $DEVICE world-out output rate $OUTPUT_SPEED $LINKTYPE # removed balanced
class interactive commit 10% # committed traffic
match udp port 53
match tcp port 22
match icmp
match tcp dports 5222,5228
match tcp dports 5223
class surfing commit 80% # committed traffic
match tcp dports 0:1023
class synacks # 1% is the default
match tcp syn
match tcp ack
class default # 1% is the default
总带宽2M,主要用来浏览,优先ssh dns