Skip to content

Instantly share code, notes, and snippets.

@nachopro

nachopro/FireQOS @ OpenWRT

Last active Oct 14, 2015
Embed
What would you like to do?
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