Here we will be configuring a dial-in VPN using L2TP with IPsec.
In this example, we will be using 192.168.7.0/24 for the L2TP clients and for the LAN.
The configuration will detail the following:
Enable L2TP server
Create a DHCP pool
Create an L2TP profile
Create a sample user
This is a brief guide on how to implement an L2TP/IPSec VPN server on Mikrotik RouterOS and use it as a gateway.
Change these to fit your setup:
This router’s local IP address: 172.31.1.1/20
WAN connection is PPPoE with the name ether1-GTW.
If you use PPPoE, use the name of your PPPoE...