Help. Mikrotik L2TP VPN Configuration

I only recently became familiar with mikrotik. I now want to set up an L2TP VPN connection so that, even when using a different network at home, I can access my workplace Mikrotik router remotely. The Mikrotik Router has an established L2TP server, and the client PC has a VPN connection. The issue is that I consistently receive errors while attempting to connect via a client PC. An example of an error message could be, “the security layer encountered a processing error during initial negotiations with the remote computer,” which is why the L2TP connection attempt failed. I’m stuck right now and I’m struggling. I would welcome any advice or pointers, so please help.

Why use L2TP when you have Zerotier or Wireguard?

That error almost always means you have an incorrect password somewhere.

Could be auth types or ipsec algorithms. What does the Mikrotik log say?

Security layer = ipsec/algorithm problems.

If you set ipsec to required, change the windows client accordingly on the properties of the connection (the old way not the “settings app”)

Otherwise change ipsec to yes on the mkt side.

Why not use BackToHome Wireguard?

i did set the VPN type on the client pc as ‘L2TP/IPsec with pre-shared key’ with the correct IPsec password i did on mkt side. I do wonder which area or algorithms do i need to change or smth.

Yes, i did set ipsec required on mkt side and input the correct creds to my client pc and still get the same error message.

the default profiles in ip > ipsec > proposal & profile (the blue ones) are the algorithms i’m talking about. depending on the client you may need to check some additional options in order to be able to connect. again, what does the mikrotik log say?

Client side it’s the problem, just saw the screenshot above. You didn’t do what I said about ipsec on the client.


it goes like this when i checked the mikrotik log.