Remote Access problem using two gateways

Hi Everyone,

I have a little situation. I have made a failover device using MT. It is connected to adsl and 3G. When the ADSL fails, the 3G kicks in. This is accomplished using netwatch and a script that changes the default route’s (ADSL) distance from 1 to 3. The 3G gateway’s distance is set at 2. This works well for failover.

Now my problem: I want to connect to my router using ONLY winbox over the 3G connection. I can connect fine when the ADSL is down, but when it is up it my winbox traffic gets routed back using the ADSL, not the 3G where it originated from. I can see this when torching the different interfaces.

I connect remotely using different means, so my IP is not allways the same, which makes static routes a little unpractical.

Any help would be greatly appreciated.

YOu can use packet/route marking to mark incoming WinBox connections on your 3G interface and then use policy routing to route the answer packets out the 3G interface again.
There are some examples for doing that in the forum and in the wiki, too (I think).

Best regards,
Christian Meis

Excellent, thanks!

The answer was at:

http://wiki.mikrotik.com/wiki/Policy_Routing_in_RouterOS_2.9.x

diaan