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:
- Port 500 UDP
- Port 1701 UDP
- Port 4500 UDP
- IPsec-esp protocol
- 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.