I have setup L2TP IPsec vpn on a raspberry pi with securenat enabled & am having issues connecting remotely. While within my local network (same as the server) I am able to connect with my macbook and my iphone, but when I turn off wifi & use 4g from my phone I am unable to connect.
I have tried adding settings on my router to forward UDP ports 500, 4500, and 1701 for the IP of my server, but no luck. I am still unable to reach the server.
Am I forwarding the wrong ports? I know it works locally, but it looks to me like the port forwarding is the problem.