Mangles PCC Question

I have a simple question about Mangles and PCC,

Since replies must leave the same interface request came in https://wiki.mikrotik.com/wiki/Manual:PCC, when a connection initiated for the first time outside our network, how exactly do we know that the reply will go out through the connection it came in? The hashing algorithm might choose a different connection.

Thanks in advance

Hey

You need to mark incoming traffic and apply correct routing mark before routing.

Of course. But still, when we reply back to that incoming connection we go through the hashing algorithm and there we will loose the previous connection mark.
Incoming connection is marked(ISP 1) - > Hash Algorithm wont run since its an inbound Connection-> we mark routing (TO ISP 1) for that Connection → host received the request
Host replies → Hashing Algorithm (Here the hash algorithm might choose ISP2) → Route for ISP 2 is chosen → Reply goes out through ISP 2

Am i right? What am i missing ?

You need to adjust your PCC rules to only do it for not marked connections.
Reply will be linked to same connection, which is already connection-marked for specific wan.

You are right, thank you very much…