L2TP VPN Between Windows 11 Machine and Mirkotik

Is it possible to create an L2TP tunnel between a MikroTik router and a Windows machine?

I mean, there are tons of videos and articles out there talking about it, but none of them seem to be valid. Also, trusted channels and official websites don’t mention anything about this setup at all.

Please, if you’ve actually set it up yourself and got it working, just tell me.

Yes, it is no problem. Just setup an L2TP server with default config and it works.

Do not use videos as a guide, they are usually crap. Use the documentation (text).

1 Like

I did that but i always get authentication problem in the log.
From mikrotik side also leave it as default?

From the documentation:

Yes just enable the server, set a Pre-shared key, add a PPP user with username/password and IP pool to use (create the pool too), and in Windows use “L2TP/IPsec with pre-shared key” and enter the IP address, key and when first connecting enter the user and password.

Make sure you do NOT change the base IPsec parameters (hash and encryption method) “for extra security” because that will most likely make it fail.

some time ago i had an specific windows PC with problem connecting to l2tp/ipsec VPN, maybe is not related with your situation…

i found that the problem arises when the PC NIC has a secondary ip address (diferent local network) configured, For some reason at some point in the VPN initial establishment the PC starts to use the secondary ip address as a source, secondary network has no gateway nor intermet access so from that moment the connection fails. Just disabling secondary ip address and VPN started working