Hi, how do I bypass local routing table to make selected packets with dst-address=“IP-address of the gateway” to go into the LAN?
Something like this on vanilla linux
# ip rule del from all lookup local pref 0 # ip rule add from all lookup my_fancy_table pref 0 # ip rule add from all lookup local pref 1
/IP firewall mangle
RouterOS doesn’t allow to use different routing table for local destination (= address assigned to router). Only way to get around that is directly routing to different gateway:
/ip firewall mangle add chain=prerouting <options> action=route route-dst=<gateway>