I have an issue with mark-connection being overwritten in my mangle rules.
Please see below mangle rules;
361-363 are layer 3, PBR on source and destination IP Addresses.
Code: Select all
361 chain=prerouting action=mark-connection
new-connection-mark=GOOGLE DRIVE passthrough=yes
dst-address-list=GOOGLE DRIVE log=no log-prefix=""
362 chain=prerouting action=mark-packet
new-packet-mark=GOOGLE DRIVE passthrough=yes
connection-mark=GOOGLE DRIVE log=no log-prefix=""
363 chain=prerouting action=mark-routing
new-routing-mark=MultiWAN passthrough=no
src-address=10.80.0.0/16 packet-mark=GOOGLE DRIVE
log=no log-prefix=""
Code: Select all
395
chain=prerouting action=mark-connection
new-connection-mark=HTTP-HTTPS BROWSING passthrough=yes
protocol=tcp port=80,443 log=no log-prefix=""
396 chain=prerouting action=mark-packet
new-packet-mark=HTTP-HTTPS BROWSING passthrough=yes
connection-mark=HTTP-HTTPS BROWSING log=no log-prefix=""
397 chain=prerouting action=mark-routing
new-routing-mark=ECMP passthrough=no
src-address=10.80.0.0/16 packet-mark=HTTP-HTTPS BROWSING
log=no log-prefix=""
Does anyone know why this happens? Is there a correlation between how RoS processes mangle rules and the OSI model?
Thank you.