AnyDesk through the 2nd wan-interface

Hi,
While I got help here earlier with the splitting multiple wan interfaces, what I appreciate a lot I have another task.
The machine is configured to go to the internet through the main wan-interface using IP → Routes → Rules rule with the option “lookup only in table” and IP → Firewall → NAT masquarade rule.
But I need to use AnyDesk through the second wan-interface while letting the machine go to the internet through the main wan-interface.
How it can be achieved?
Thanks.

If you mean incoming connections from 2nd WAN, you’ll need to mark them as connections, then mark routing for responses, and finally add another routing rule before existing one, to lookup destination in routing table which has 2nd WAN as default gateway. Exact config depends on what you have now. If you mean outgoing connections for specific service, it would be very similar, but it may be difficult to identify them properly.

Thanks for your advice.
Yes, I need incoming connections for AnyDesk or TeamViewer in this situation.
I don’t have the default NAT masquerading rule in order to let machines go through a certain wan-interface.
I tried to use two NAT rules with two routing rules, but it seems it depends on which routing rule is active at the moment which is above and that’s the problem.
Can I use Mangle somehow to activate the second routing rule which is below to activate the traffic at the same time with the routing rule which is above?
Thanks

As I wrote, mark new incoming connections and then mark routing for reponses. To get an idea what I mean, you can check:

https://wiki.mikrotik.com/wiki/Manual:PCC

It’s mainly about something else, but what I describe can be seen there too.