Basics of Marking Connections

I have a few mangle rules in which I am marking connections and they are working. Currently, those markings are exclusive. By that, I mean the connections are either marked one way or another.

But I now have a need to mark the same connection with another connection mark and I don’t think that will work because I will be destroying later processing.

What is the process regarding multiple connection marking?

Can a connection mark get changed from one value to another? How does one handle the need to mark a connection with two marks? Would you create a new rule for both criteria (the existing and the new) and mark it differently, then split those two later in the rules?

Thank you.

for each mangle rule , you can set passthrough=yes. which means the router will check the rest of the rules and apply mark if the conditions are met.

i am not 100% but I think the second time you mark the connection, the mark will be over-written. So you may have to mark different chains, e.g. pre-routing / post-routing to achieve what you want.