Skip to content

Instantly share code, notes, and snippets.

@cransom
Created June 13, 2024 16:59
Show Gist options
  • Save cransom/3aefda5b2be9a73bdca41c3bd246f010 to your computer and use it in GitHub Desktop.
Save cransom/3aefda5b2be9a73bdca41c3bd246f010 to your computer and use it in GitHub Desktop.
services.fireqos = {
enable = true;
config = ''
#interface46 wan wan-in input rate 500mbit
interface46 wan wan-out output rate 22mbit
class voip
server hangouts,gtalk,facetime
#stun/turn
match udp ports 3478:3497
#slack
match udp ports 22466
#ipsec/wifi calling att
match udp ports 500
match udp ports 4500
class highpriority
match4 tcp syns
match4 tcp acks
match port 53
#mosh
match udp ports 60000:61000
match icmp
match tos low-delay
class default pfifo
class bulk max 90%
#backblaze
match4 dport 51820
match4 sport 32400
match4 dst 206.190.208.0/21
match4 dst 104.153.232.0/21
match4 dst 149.137.128.0/20
match4 dst 45.11.36.0/22
match6 dst 2605:72c0::/32
'';
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment