Skip to content

Instantly share code, notes, and snippets.

@beigna
Last active October 14, 2015 20:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beigna/f836868a68f6ec666a26 to your computer and use it in GitHub Desktop.
Save beigna/f836868a68f6ec666a26 to your computer and use it in GitHub Desktop.
FireQOS: 10mpbs/1mps fiber at home
DEVICE=eth0.2
INPUT_SPEED=9600kbit
OUTPUT_SPEED=960kbit
interface $DEVICE world-in input rate $INPUT_SPEED #balanced
class interactive commit 20%
match udp sport 53
match tcp port 22
match icmp
match tcp sports 5222,5228
class games commit 20% pfifo
# WarThunder
match tcp ports 7850:7854,7800:7802,27022:27042
match tcp port 8090
match udp ports 20010:20500,3478:3480
match tcp ports 1500:1510
class surfing commit 30%
match tcp sports 0:1023
class server commit 25%
match tcp dports 80,443
class synacks commit 1%
match tcp syn
match tcp ack
class default commit 1%
class torrents commit 1%
match dports 6881:6999
match dport 50505 prio 1
match sports 16384:65535 dports 16384:65535
interface $DEVICE world-out output rate $OUTPUT_SPEED #balanced
class interactive commit 20%
match udp dport 53
match tcp port 22
match icmp
match tcp dports 5222,5228
class games commit 20% pfifo
# WarThunder
match tcp ports 7850:7854,7800:7802,27022:27042
match tcp port 8090
match udp ports 20010:20500,3478:3480
match tcp ports 1500:1510
class surfing commit 10%
match tcp dports 0:1023
class server commit 40%
match tcp sports 80,443
class synacks commit 2%
match tcp syn
match tcp ack
class default commit 2%
class torrents commit 2%
match sports 6881:6999
match sport 50505 prio 1
match sports 16384:65535 dports 16384:65535
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment