Provided by: fireqos-doc_2.0.3+ds-1_all 

NAME
fireqos.conf - FireQOS configuration file
DESCRIPTION
This file defines the traffic shaping that will be applied by fireqos(1). The default configuration file is /etc/fireqos/fireqos.conf. It can be overridden from the command line. A configuration consists of a number of input and output interface definitions (see fireqos-interface(5)). Each interface can define any number of (optionally nested) classes (see fireqos-class(5)) which shape the traffic which they match (see fireqos-match(5)).
SPEED UNITS
In FireQOS, speeds can be expressed in the following units: #bps # bytes per second #kbps; #Kbps # kilobytes per second #mbps; #Mbps # megabytes per second #gbps; #Gbps # gigabytes per second #bit # bits per second #kbit; #Kbit; # # kilobits per second (default) #mbit; #Mbit # megabits per second #gbit; #Gbit # gigabits per second #% In a class, uses this percentage of the enclosing rate. Note The default, kbit is different to tc(8) which assumes bytes per second when no unit is specified.
EXAMPLE
# incoming traffic from my ADSL router interface eth2 adsl-in input rate 10500kbit adsl remote pppoe-llc class voip commit 100kbit pfifo match udp ports 5060,10000:10100 # asterisk sip and rtp match udp ports 16393:16402 # apple facetime class realtime commit 10% match tcp port 22,1195:1198,1753 # ssh, openvpn, pptp match udp port 53 # dns match proto GRE match icmp match tcp syn match tcp ack class clients commit 10% match tcp port 20,21,25,80,143,443,465,873,993 # mail, web, ftp, etc # unmatched traffic goes here ('default' is a special name) class default max 90% # I define torrents beneath the default class, so they slow # down when the default class is willing to get bandwidth class torrents max 90% match port 51414 # my torrent client # outgoing traffic to my ADSL router interface eth2 adsl-out output rate 800kbit adsl remote pppoe-llc class voip commit 100kbit pfifo match udp ports 5060,10000:10100 # asterisk sip and rtp match udp ports 16393:16402 # apple facetime class realtime commit 10% match tcp port 22,1195:1198,1753 # ssh, openvpn, pptp match udp port 53 # dns match proto GRE match icmp match tcp syn match tcp ack class clients commit 10% match tcp port 20,21,25,80,143,443,465,873,993 # mail, web, ftp, etc # unmatched traffic goes here ('default' is a special name) class default max 90% # I define torrents beneath the default class, so they slow # down when the default class is willing to get bandwidth class torrents max 90% match port 51414 # my torrent client
SEE ALSO
• fireqos(1) - FireQOS program • fireqos-interface(5) - QOS interface definition • fireqos-class(5) - QOS class definition • fireqos-match(5) - QOS traffic match • FireHOL Website (http://firehol.org/) • FireHOL Online PDF Manual (http://firehol.org/firehol-manual.pdf) • FireHOL Online HTML Manual (http://firehol.org/manual) • tc(8) (http://lartc.org/manpages/tc.html) - show / manipulate traffic control settings
AUTHORS
FireHOL Team.