L2TP/IPSec - Mikrotik Client not working but lan devices can connect

Hello guys,

I want to configure an L2TP VPN connection with IPSec between a Peplink router as a server and a Mikrotik router. The Mikrotik router doesn’t connect; the firewall shows an attempt to connect to the server on port 1701, then nothing. I used the same settings (user account, password, server address) on an iPhone and Windows 10 connected behind the Mikrotik, and the VPN is successfully established. On the Mikrotik’s firewall, I see an initial connection on port 500, then on port 4500 when the VPN is established.
Below is my VPN configuration on Mikrotik and the logs.
Capture d’écran du 2025-03-13 17-06-03.png
Capture d’écran du 2025-03-13 17-07-17.png
Capture d’écran du 2025-03-13 17-08-13.png
Thank you in advance.