rOS v7.x - Route Adress List

Hello.

Recently updated to v7 and I don’t understand how to do the following. Quoting my setup.

WAN1 - DSL - PPPoE - Public IP → Static route with distance 2
WAN2 - LTE - DHCP client - cgNAT → Static route with distance 1

All traffic runs on WAN2 as it should. When WAN2 drops all traffic use WAN1.

Problem: The mTik cloud service updates its ip using WAN2. The problem is that the WAN2 has NOT public IP so it can’t be used to for the services I need to access inside the network.

When I was running rOSv6 I made an adress-list for the mikrotik cloud:

/ip firewall address-list
add address=cloud.mikrotik.com list=mikrotik-cloud
add address=cloud2.mikrotik.com list=mikrotik-cloud

I used to have an output rule in the firewall for the destination adress list mikrotik-cloud with routing mark dsl and the same routing mark in a separate static route and worker.

And coming to to today, in rOS v7, how can I route and adress list using an exact, forced WAN? I need the router to update the mTik cloud service using only WAN1.

Thank you.

A small search …

http://forum.mikrotik.com/t/mikrotik-cloud-choose-ip-interface-to-update/143665/1

Will be the same in the rOS7?

Refreshing the thread.

After the update to 7.14.1 I’m not able again to do the same forced update from WAN1. Quoting the setup that worked. What’s the problem now? Maybe the approach was wrong from the first time?

The older posts didn’t help me.

/ip firewall address-list
add address=cloud.mikrotik.com list=mikrotik-cloud
add address=cloud2.mikrotik.com list=mikrotik-cloud

/ip firewall mangle
add action=mark-routing chain=prerouting comment="mark routing gia ddns" \
    dst-port=15252 new-routing-mark=dsl passthrough=no protocol=udp
add action=mark-routing chain=output comment="mark routing gia ddns" \
    dst-address-list=mikrotik-cloud log=yes new-routing-mark=dsl passthrough=\
    no
    
/routing table
add disabled=no fib name=lte
add disabled=no fib name=dsl

/routing rule
add action=lookup disabled=no routing-mark=dsl table=dsl

/ip route
add disabled=no distance=20 dst-address=0.0.0.0/0 gateway=pppoe-out1 \
    pref-src=0.0.0.0 routing-table=main scope=30 suppress-hw-offload=no \
    target-scope=10
add disabled=no distance=10 dst-address=0.0.0.0/0 gateway=192.168.188.1 \
    pref-src=0.0.0.0 routing-table=main scope=30 suppress-hw-offload=no \
    target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.188.1 \
    pref-src=0.0.0.0 routing-table=lte scope=30 suppress-hw-offload=no \
    target-scope=10
add disabled=no dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-table=dsl \
    suppress-hw-offload=no

Gateway pppoe-out1 is public ip WAN, Gateway 192.168.188.1 is cgNAT WAN.