Answer the question
In order to leave comments, you need to log in
How to set up a VPN on mikrotik so that you can access a remote network when it is not the main gateway itself?
There is a remote network 192.168.2.0, Mikrotik is configured in it as a vpn server to which the main network 192.168.1.0 is connected. Routing from 192.168.1.0 to 192.168.2.0 works fine. There was a need to transfer the network 192.168.2.0 to another gateway so that the Internet would go separately, but when Mikrotik ceases to be the main gateway, access from 192.168.1.0 to 192.168.2.0 automatically disappears. Please tell me how to configure Mikrotik so that the 192.168.2.0 network is accessible through it even if it is not the main gateway?
Answer the question
In order to leave comments, you need to log in
Option 1. On all computers in the network, register a static route to 192.168.1.0.
Option 2. Register it the same, but on a new gateway.
Option 3. Set up OSPF on the new gateway and Mikrotik, let them sort it out themselves.
On the new main gateway, add a rule to MANGLE that will mark (mark-routing) traffic to the remote network, add the 0.0.0.0 route for marked traffic to the routing table, specify Mikrotik as the gateway, the metric should be less than the main default gateway.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question