I need to do gateway load balancing with 3 DSL connections, 2 on one ISP and one on other ISP.
If on firewall mangle I will match http traffic firstly
add action=mark-connection chain=forward comment=“HTTP and HTTPS” disabled=no
dst-port=80,443 new-connection-mark=HTTP_HTTPS passthrough=yes protocol=
tcp
add action=mark-packet chain=forward comment=“” connection-mark=HTTP_HTTPS
disabled=no new-packet-mark=HTTP_HTTPS passthrough=no
and PCC match roules after for gateway load balancing,
/ ip firewall mangle
add chain=input in-interface=wlan1 action=mark-connection new-connection-mark=wlan1_conn
add chain=input in-interface=wlan2 action=mark-connection new-connection-mark=wlan2_conn
add chain=output connection-mark=wlan1_conn action=mark-routing new-routing-mark=to_wlan1
add chain=output connection-mark=wlan2_conn action=mark-routing new-routing-mark=to_wlan2
add chain=prerouting dst-address=10.111.0.0/24 action=accept in-interface=Local
add chain=prerouting dst-address=10.112.0.0/24 action=accept in-interface=Local
add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:2/0
action=mark-connection new-connection-mark=wlan1_conn passthrough=yes
add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:2/1
action=mark-connection new-connection-mark=wlan2_conn passthrough=yes
add chain=prerouting connection-mark=wlan1_conn in-interface=Local action=mark-routing new-routing-mark=to_wlan1
add chain=prerouting connection-mark=wlan2_conn in-interface=Local action=mark-routing new-routing-mark=to_wlan2
will HTTP matcher work for prioritizing HTTP traffic.
Who is the best way in this case to use for matching NTH or PCC?
thank you.