Bind OpenVPN tunnel to specific external IP

On dual-WAN Mikroik router I need to create two OpenVPN links to two different external IP, and can’t bind ovpns to different WANs so first ovpn goes from WAN1 to external-IP-1, and second ovpn goes from WAN2 to external-IP-2.

I think I should mangle, but really can’t get the idea how can I ‘mark’ these ovpns.

Please advice!

If your Mikrotik has two client OVPNs, then you can you create a route for the second OVPN client interface if the destination is a static IP. No mangle required.

The route shall apply to packets with destined to x.x.x.x/32 where x.x.x.x is the destination end point of the OVPN. It should route packets to the gateway of the WAN2 interface.

No need to create a route for the first OVPN since it’ll go out WAN 1 anyway.