Hi Forum,
First post, be nice
.
Have been using and learning RouterOS for a few months now, and deploying it into production in my network (both WISP and CoLo provider).
Recently installed an RB1100AHx2 as an edge router in one of our colo facilities that also houses our office. It has multi-path to the internet for obvious redundancy, but I’d like to set it to also be our NAT router for our internal office and be able to choose which WAN interface to set our office by.
I achieve this currently using mangle rule to mark the routing with INT-DATA on the pre-routing chain (passthrough=no), then a masquerade rule as one would normally do and a default route via the WAN connection I intend to use for routing mark INT-DATA.
This works, but the problem being that devices that are local to the facility, I want the routing to stay IN the facility. I achieve THIS by having an address list ‘nonat’, and adding it to dst-address !nonat on the mangle rule. This works also.
What I am asking is if there is a better way? Maintaining that list is a pain in the ass, I would ultimately just like to say !connectedroutes, so any route that is flagged as C is automatically not marked in the pre-route.
Any ideas?
Thanks,
joe