/ip firewall mangle add action=mark-connection chain=prerouting comment=ICMP connection-state=new new-connection-mark="ICMP - DNS" passthrough=yes protocol=icmp
/ip firewall mangle add action=mark-packet chain=prerouting connection-mark="ICMP - DNS" new-packet-mark="ICMP - DNS_MARK" passthrough=no
/ip firewall mangle add action=mark-connection chain=postrouting connection-state=new new-connection-mark="ICMP - DNS" passthrough=yes protocol=icmp
/ip firewall mangle add action=mark-packet chain=postrouting connection-mark="ICMP - DNS" new-packet-mark="ICMP - DNS_MARK" passthrough=no
/ip firewall mangle add action=mark-connection chain=prerouting comment=DNS connection-state=new dst-port=53 new-connection-mark="ICMP - DNS" passthrough=yes protocol=udp
/ip firewall mangle add action=mark-packet chain=prerouting connection-mark="ICMP - DNS" new-packet-mark="ICMP - DNS_MARK" passthrough=no
/ip firewall mangle add action=mark-connection chain=postrouting connection-state=new dst-port=53 new-connection-mark="ICMP - DNS" passthrough=yes protocol=udp
/ip firewall mangle add action=mark-packet chain=postrouting connection-mark="ICMP - DNS" new-packet-mark="ICMP - DNS_MARK" passthrough=no
/ip firewall mangle add action=mark-connection chain=prerouting comment="XOBX LIVE" connection-mark=no-mark connection-state=new dst-port=!80,443 new-connection-mark="XOBX LIVE" passthrough=yes
protocol=tcp src-address=192.168.30.8/31
/ip firewall mangle add action=mark-connection chain=prerouting comment="XOBX LIVE - UDP" dst-port=!80,443 new-connection-mark="XOBX LIVE" passthrough=yes protocol=udp src-address=192.168.30.8/3
1
/ip firewall mangle add action=mark-packet chain=prerouting connection-mark="XOBX LIVE" new-packet-mark="XOBX LIVE_MARK" passthrough=no
/ip firewall mangle add action=mark-connection chain=prerouting comment="VOZIP - UDP - 5060-5062,10000-10050" dst-port=5060-5062,10000-10050 new-connection-mark=VOZIP passthrough=yes protocol=ud
p
/ip firewall mangle add action=mark-packet chain=prerouting connection-mark=VOZIP new-packet-mark=VOZIP_MARK passthrough=no
/ip firewall mangle add action=mark-connection chain=prerouting comment=IPTV connection-mark=no-mark connection-state=new dst-port=25461 new-connection-mark=IPTV passthrough=yes protocol=tcp
/ip firewall mangle add action=mark-packet chain=prerouting connection-mark=IPTV new-packet-mark=IPTV_MARK passthrough=no
/ip firewall mangle add action=mark-connection chain=prerouting comment=NAVEGACION connection-mark=no-mark connection-state=new dst-port=80,443 new-connection-mark=NAVEGACION passthrough=yes pro
tocol=tcp
/ip firewall mangle add action=mark-connection chain=prerouting comment="STREAMING - DESCARGAS" connection-bytes=5000000-0 connection-mark=NAVEGACION connection-rate=2M-200M new-connection-mark=
"STREAMING / DESCARGAS" passthrough=yes protocol=tcp
/ip firewall mangle add action=mark-packet chain=prerouting comment="STREAMING / DESCARGAS_MARK" connection-mark="STREAMING / DESCARGAS" new-packet-mark="STREAMING / DESCARGAS_MARK" passthrough=
no
/ip firewall mangle add action=mark-packet chain=prerouting comment=NAVEGACION_MARK connection-mark=NAVEGACION new-packet-mark=NAVEGACION_MARK passthrough=no
/ip firewall mangle add action=mark-connection chain=prerouting comment=QUIC connection-state=new dst-port=80,443 new-connection-mark=QUIC passthrough=yes protocol=udp
/ip firewall mangle add action=mark-connection chain=prerouting comment="QUIC_STREAMING / DESCARGAS" connection-bytes=5000000-0 connection-mark=QUIC connection-rate=2M-200M new-connection-mark="
QUIC_STREAMING / DESCARGAS" passthrough=yes protocol=udp
/ip firewall mangle add action=mark-packet chain=prerouting comment=QUIC_MARK connection-mark=QUIC new-packet-mark=QUIC_MARK passthrough=no
/ip firewall mangle add action=mark-packet chain=prerouting comment="QUIC_STREAMING / DESCARGAS_MARK" connection-mark="QUIC_STREAMING / DESCARGAS" new-packet-mark="QUIC_STREAMING / DESCARGAS_MAR
K" passthrough=no
/ip firewall mangle add action=mark-connection chain=prerouting comment=RESTO connection-mark=no-mark connection-state=new new-connection-mark=RESTO passthrough=yes
/ip firewall mangle add action=mark-packet chain=prerouting connection-mark=RESTO new-packet-mark=RESTO_MARK passthrough=no