Answer the question
In order to leave comments, you need to log in
Mikrotik L2TP how to pass local traffic through VPN, and the Internet through a standard gateway?
There is a network.
Comp IP 95.95.95.95 <= L2TP=> 192.168.1.254 Mikrotik <==> 192.168.1.2 Server
An L2TP tunnel has been set up on Mikrotik.
When a computer connects to a VPN, all traffic goes through Mikrotik. The default gateway is changed to the Mikrotik gateway.
How to make it so that after connecting a computer to Mikrotik, Internet traffic goes through the provider's gateway, and through the tunnel only local traffic to 192.168.1.0
As I understand it, you need to change the route. But I do not want to do it manually, but I need to automate the process somehow. Is it possible to distribute another route for the VPN client with Mikrotik?
It is necessary that
everything that goes to 192.168.1.0 GW 192.168.1.254
everything else is 0.0.0.0 GW from the provider.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question