E
E
EnZo_Smile2017-12-07 13:03:55
VPN
EnZo_Smile, 2017-12-07 13:03:55

How to use your Internet and VPN without disabling the gateway in the VPN network?

There is Office1 and Office2. Both have Mikrotiks. I'm in the first office. In Office2, I configured Mikrotik for L2TP / IPSec connection, and on my computer with Windows 10 I configured the connection itself. In general, everything is OK, but Office1 has several subnets, and Office2 has their main subnet, and a separate subnet is allocated for VPN clients, and I would like to have simultaneous access to all of them, while using my Internet, which is in Office1 .
And it turns out that when connecting with the checkbox "Use the default gateway on the remote network" checked, I can connect to the main subnet of Office2, where the local employees work, but the Internet connection of Office2 is used and access to the subnets of my Office1 is lost. Well, if you remove the checkbox, then the picture is exactly the opposite - your Internet, local subnets are available, but the subnet of people from Office2 is not available.
As I understand it, here it is necessary to somehow configure routing, but I have no experience in this.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem @Jump, 2017-12-07
@EnZo_Smile

This is done quite easily.
1) Uncheck the box "Use a gateway on a remote network" - as a result, after connecting to the VPN, you will have access to the local resources of your network, and you will access the Internet from your address.
But you will not have access to a remote network.
2) Register an explicit route to a remote network. As a result, you will have access to the network of the second office.
The route is prescribed where the VPN tunnel rises - if this is your computer, then on it, if it rises on the router, then on the router.

E
EnZo_Smile, 2017-12-12
@EnZo_Smile

Damn, it's just, what am I. It was necessary to specify the interface number. Thanks to all!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question