You are on page 1of 2

/ip firewall mangle

add action=mark-connection chain=postrouting comment=icmp connection-state=new


new-connection-mark=icmp-conn out-interface=wlan-2G-client passthrough=yes
protocol=icmp
add action=mark-packet chain=postrouting connection-mark=icmp-conn new-packet-
mark=icmp-out-pk out-interface=wlan-2G-client passthrough=no
add action=mark-packet chain=prerouting connection-mark=icmp-conn in-
interface=wlan-2G-client new-packet-mark=icmp-in-pk passthrough=no
add action=mark-connection chain=postrouting comment=dns connection-state=new
dst-port=53 new-connection-mark=dns-conn out-interface=wlan-2G-client
passthrough=yes protocol=udp
add action=mark-connection chain=postrouting connection-state=new dst-port=53
new-connection-mark=dns-conn out-interface=wlan-2G-client passthrough=yes
protocol=tcp
add action=mark-packet chain=postrouting connection-mark=dns-conn new-packet-
mark=dns-out-pk out-interface=wlan-2G-client passthrough=no
add action=mark-packet chain=prerouting connection-mark=dns-conn in-
interface=wlan-2G-client new-packet-mark=dns-in-pk passthrough=no
add action=mark-connection chain=postrouting comment=voip connection-state=new
dst-port=5060,5061 new-connection-mark=voip-conn out-interface=wlan-2G-client
passthrough=yes protocol=udp
add action=mark-connection chain=postrouting connection-state=new dst-
port=5060,5061 new-connection-mark=voip-conn out-interface=wlan-2G-client
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark=voip-conn new-packet-
mark=voip-out-pk out-interface=wlan-2G-client passthrough=no
add action=mark-packet chain=prerouting connection-mark=voip-conn in-
interface=wlan-2G-client new-packet-mark=voip-in-pk passthrough=no
add action=mark-connection chain=postrouting comment=zoom connection-state=new
dst-port=3478,3479,8801-8810,5090 new-connection-mark=zoom-conn out-interface=wlan-
2G-client passthrough=yes protocol=udp
add action=mark-connection chain=postrouting connection-state=new dst-
port=8801,8802,5090,5091 new-connection-mark=zoom-conn out-interface=wlan-2G-client
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark=zoom-conn new-packet-
mark=zoom-out-pk out-interface=wlan-2G-client passthrough=no
add action=mark-packet chain=prerouting connection-mark=zoom-conn in-
interface=wlan-2G-client new-packet-mark=zoom-in-pk passthrough=no
add action=mark-connection chain=postrouting comment=rocket-league connection-
state=new dst-port=7000-8800,8811-8887,8889-9000 new-connection-mark=rocketleague-
conn out-interface=wlan-2G-client passthrough=yes protocol=udp
add action=mark-packet chain=postrouting connection-mark=rocketleague-conn new-
packet-mark=rocketleague-out-pk out-interface=wlan-2G-client passthrough=no
add action=mark-packet chain=prerouting connection-mark=rocketleague-conn in-
interface=wlan-2G-client new-packet-mark=rocketleague-in-pk passthrough=no
add action=mark-connection chain=postrouting comment=other connection-state=new
new-connection-mark=other-conn out-interface=wlan-2G-client passthrough=yes
add action=mark-packet chain=postrouting connection-mark=other-conn new-packet-
mark=other-out-pk out-interface=wlan-2G-client passthrough=no
add action=mark-packet chain=prerouting connection-mark=other-conn in-
interface=wlan-2G-client new-packet-mark=other-in-pk passthrough=no

/queue tree
add max-limit=22M name=internet parent=global queue=ethernet-default
add max-limit=10M name=internet-in parent=internet queue=ethernet-default
add max-limit=12M name=internet-out parent=internet queue=ethernet-default
add name=zoom-in packet-mark=zoom-in-pk parent=internet-in priority=4
queue=ethernet-default
add name=zoom-out packet-mark=zoom-out-pk parent=internet-out priority=4
queue=ethernet-default
add name=icmp-out packet-mark=icmp-out-pk parent=internet-out priority=2
queue=ethernet-default
add name=icmp-in packet-mark=icmp-in-pk parent=internet-in priority=2
queue=ethernet-default
add name=dns-out packet-mark=dns-out-pk parent=internet-out priority=2
queue=ethernet-default
add name=dns-in packet-mark=dns-in-pk parent=internet-in priority=2
queue=ethernet-default
add name=voip-in packet-mark=voip-in-pk parent=internet-in priority=2
queue=ethernet-default
add name=voip-out packet-mark=voip-out-pk parent=internet-out priority=2
queue=ethernet-default
add name=rocketleague-in packet-mark=rocketleague-in-pk parent=internet-in
priority=4 queue=ethernet-default
add name=rocketleague-out packet-mark=rocketleague-out-pk parent=internet-out
priority=4 queue=ethernet-default
add bucket-size=0.01 max-limit=10M name=other-out packet-mark=other-out-pk
parent=internet-out queue=pcq-upload-default
add max-limit=8M name=other-in packet-mark=other-in-pk parent=internet-in
queue=pcq-download-default

You might also like