Hi everyone, I have a Mikrotik with two public IPs. I have a server that I expose on wan1. I would like it to be accessible from outside the network from both wan1 and Wan 2 but use Wan2 to navigate. how can I do?
Will need to some mangling and routes and tables.
I’m pretty clear on how routing tables work. if I want the traffic coming from the server to go out with ISP1 and what comes from outside use isp2 I would do this.
/routing table
add name=to_ISP1 fib=yes
add name=to_ISP2 fib=yes
/ip firewall mangle
add chain=prerouting src-address=192.168.10.40 action=routing-mark new-routing-mark=to_ISP1
add chain=prerouting dst-address=1.2.3.4 action=routing -mark new-routing-mark=to_ISP2
would this be the correct approach or am I just messing up