Answer the question
In order to leave comments, you need to log in
How to configure access to a server that has a different default route?
Hello.
There is a network 192.168.2.0/24
This network has a server 192.168.2.2 whose gateway is 192.168.2.1 (not Mikrotik), (and this is a router with Internet 1)
There is a router 192.168.2.10 (Mikrotik), (with Internet 2), a client (192.168.6.2) connects to this router via VPN.
How to make it so that the client from the VPN can reach the server 192.168.2.2.
There is a ping from router 192.168.2.10 to 192.168.2.2.
I understand that when the VPN client sends a packet to 192.168.2.2 sorce, 192.168.6.2 is indicated in the packet, and then the packet flies back to the default gateway.
And how to make the packet go back to the router from which it came, without prescribing a route in the server.
Answer the question
In order to leave comments, you need to log in
draw a diagram and you will see everything yourself, no source is indicated in the package - the client has an address in the same network as the VPN, otherwise nothing will get anywhere
Register a route on the server or register a route on the default gateway.
On Mikrotik, configure NAT for the client. Those. packets from client 192.168.6.2 when addressed to server 192.168.2.2 will have source address 192.168.2.10.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question