T
T
TheBigBear2022-03-18 01:17:20
VPN
TheBigBear, 2022-03-18 01:17:20

How to start the Internet through the client (VPN channel in the other direction)?

Hello
There is a Mikrotik with a white IP and a configured L2TP server (10.10.10.1). Behind Mikrotik, the office network (192.168.111.0/24)
The second Mikrotik is connected to a home provider with a "gray" IP, when it needs to connect to the first one via L2TP (10.10.10.2)
Everything works, everything is set up, they ping back and forth
Now you need to do this, that when the second microtic is connected, wrap all Internet traffic of the office into it and release it to the Internet via the "gray" IP
Turns off - everything starts working as usual
Something I got confused in the routes, tell me where to dig or where to read

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Drno, 2022-03-18
@Drno

You can simply set the priority on the vpn connection to be less than on the main channel
And then do nat for it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question