L2PT/IPsec

I used Winbox to set up my Mikrotik router as an L2TP/IPsec VPN Server. If I try to connect with my iPhone from behind the LAN, it connects just fine. If I trying to connect from outside the LAN, it doesn’t connect.

I have the following set to accept in the Mikrotik router firewall:

  1. Port 500 UDP
  2. Port 1701 UDP
  3. Port 4500 UDP
  4. IPsec-esp protocol
  5. IPsec-ah protocol

*I tried the above with and without setting the WAN as the incoming interface for the ports.

I also have NAT Transversal checked in IPsec Peers.

I have no idea what else I could be missing.