Marking Lan to Wan Packets

Hello,

Lets suppose i have a 2 static WAN and 1 LAN config.
This config includes 2 working NAT rules pointing to a local server port.
PCC rules for the Lan Client workstation to have Load Ballancing via source address 2/0 method.
I am trying to find a way to make both WAN addresses work at the same time for the incoming connections to the same server
but it seems that only 1 IP work each time.
Can someone offer me with some assistance?
I thing that the problem is that i cant find a successful way to mark connections to the server from the 2 different WAN
and make the server respond each time via the correct WAN but i have no idea what mangle rule can achieve that.
Thanks in advance

It’s simple, if there’s incoming connection which does not have a mark yet, add it:

/ip firewall mangle
add action=mark-connection chain=prerouting connection-mark=no-mark in-interface=<WAN1> \
    new-connection-mark=<isp1 mark> passthrough=yes
add action=mark-connection chain=prerouting connection-mark=no-mark in-interface=<WAN2> \
    new-connection-mark=<isp2 mark> passthrough=yes

You can use same marks as for outgoing connections. Just make sure that your current marking rules also include connection-mark=no-mark condition, otherwise they could overwrite the mark.