Multiple WAN connections to one internal server

Hi,

i want to use 2 WAN connections, one as normal and one as failover when the first wan conneciton is dead. Like described here
https://wiki.mikrotik.com/wiki/Two_gateways_failover
or here
https://wiki.mikrotik.com/wiki/Advanced_Routing_Failover_without_Scripting


But i have a service in my lan which should be accessable from both wan connections (using destination nat). is this possible? can the router select the correct wan interface for the response paktes from my service in the lan?

BR

mode

should be possible:
so you obviously need dst nat on each WAN interface into your internal server.
Also mark incoming new connection from WAN1, then mark packet of this connection, then add static routing based on packet mark. This way, traffic comes in from WAN1 is marked, and it’s related traffic would have the same packet mark, goes out to the Internet (to its source IP) via WAN1. Then do the same for WAN2