Multiple srcnat/static IPs per internal ip

We have a setup with two WAN devices providing failover capabilities for our network through use of routes. In addition, we have multiple static IPs through these two WAN providers, which need to be addressed to specific servers on the internal network. We’ve been able to get servers on a single WAN to show up on the static IPs through use of srcnat in the firewall. How would we make the same servers accessible on another static IP, on WAN2?

For example, let’s I have a web server at 10.0.0.3.
I’d like it to be accessible on static ip x.x.x.x on WAN1, and also available on static ip y.y.y.y on WAN2. I’d also like to avoid using scripts, if possible. How could I achieve this?

Worth noting that, at all but one location, WAN1 and WAN2 have their own interfaces on the mikrotik device. At one location, the second WAN sits on the local network and we configure our routes to use it’s internal IP for the Gateway.

Thank you very much for your assistance, and please let me know if I need to export out any of our configurations for review
Jesse

In Mikrotik you can mark a connection. Then you can apply a routing-mark to packets who belong to that connection. Then you can route based on routing-marks. These get set up under the mangle rules. Create a rule, when a SYN (new-connection) packet comes in the WAN, action=mark-connection and set connection-mark to WAN1_CONN or WAN2_CONN. Then create another rule, when packets come from 10.0.0.3 and connection-mark is WAN1_CONN, then action=mark-packet with WA1_ROUTE. Add another rule for WAN2. In your route list, you can edit the route and add the routing-marks in there.

If the second WAN is a second router, then your WAN2 route should point to the LAN ip of that router.

Diagram it.

Are x.x.x.x and y.y.y.y internet routable addresses? If so, I don’t understand your explanation. Maybe I’m the only one.

I read it again and I get it now.