Greetings.
I 've been on this one for a couple of weeks although teh problem seems fairly simple. It is again related to multiple gateways.
I am running a routerboard 2.9.30 with 2 DSL links and fixed IPs. There is some routing with marks for incoming trafic to be responded through the right gateway and all that works fine. Besides there is a default gateway to handle all unmarked and router's trafic.
My problem is that Router own ip services (telnet, ftp, ssh ....) are only reachable from the wan link that is default gateway. Of course I cannot add another default gateway for the second link, and RouterOS seems to be responding to for example ssh requests from both external link via the same gateway. In a word: how can I force Router to respond to those requests via the link the request came from.
Could it be some very silly setting that I am not aware off, or this could not be done.Here are my settings :
I use masquerade for local users and dst-nat for local server to be reachable from the internet.
add dst-address=0.0.0.0/0 gateway=111.111.111.111 distance=0 scope=255 \
target-scope=10 routing-mark=even comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=222.222.222.222 distance=0 scope=255 \
target-scope=10 routing-mark=odd comment="" disabled=no
add dst-address=0.0.0.0/0 gateway=111.111.111.111 distance=0 scope=255 \
target-scope=10 routing-mark=fragile comment="No load balancing for \
fragile web sites" disabled=no
add dst-address=0.0.0.0/0 gateway=111.111.111.111 check-gateway=ping distance=0 \
scope=255 target-scope=10 routing-mark=rout_B comment="Inbound \
trafic response via B" disabled=no
add dst-address=0.0.0.0/0 gateway=111.111.111.111 distance=0 scope=255 \
target-scope=10 comment="router own path" disabled=no
add dst-address=0.0.0.0/0 gateway=222.222.222.222 check-gateway=ping distance=0 \
scope=255 target-scope=10 routing-mark=rout_A comment="Inbound \
trafic response via A" disabled=no
Thanks for any suggestions.