Hello everybody!
Have a problem... with two ISPs on my router.
I need to make accessible one resource behind NAT, than in my LAN. And i need to make it accessible from two ISPs simultaneously.
So - two different Internet IPs and one and the same server on it.
I can make accessible the router ports/services itself, such as 21, 22, 80, 8291 from two ISPs.
Looks like this:
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=ISP1-pppoe routing-mark=ISP1 scope=30 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=ISP2-pppoe routing-mark=ISP2 scope=30 target-scope=10
/ip firewall mangle
add chain=input action=mark-connection new-connection-mark=ISP1-input passthrough=no dst-address=1.1.1.1 in-interface=ISP1-pppoe
add chain=output action=mark-routing new-routing-mark=ISP1 passthrough=no connection-mark=ISP1-input
add chain=input action=mark-connection new-connection-mark=ISP2-input passthrough=no dst-address=2.2.2.2 in-interface=ISP2-pppoe
add chain=output action=mark-routing new-routing-mark=ISP2 passthrough=no connection-mark=ISP2-input
But I don't understand how to do the same to resources behind NAT.
Please, can somebody show the working examples, to understand???
Thanks in advance!