Can't connect to SoftEther server via L2TP on Android with VPN Azure
Posted: Mon Oct 05, 2020 11:14 pm
Hello,
I am running a SoftEther VPN server on a linux computer which is part of my LAN. I enabled the L2TP function on the VPN server and set the PSK by following these instructions on the website: "L2TP/IPsec Setup Guide for SoftEther VPN Server".
When I configured the built-in Android VPN client I specified the user name, user password, pre-shared key, type=L2TP/IPSec PSK, and forwarding routes (0.0.0.0/0). When I connect my phone to my LAN via WiFi and specify the private IP address (192.168.2.107) for my VPN server, I am able to connect without any problems. However, when I try to connect from my phone using the VPN Azure hostname or IP (such as ABC.vpnazure.net) I am unable to connect. From the server logs it appears that the connection request is never reaching my server.
The documentation says this: "If your SoftEther VPN Server is behind the NAT or firewall, you have to expose the UDP port 500 and 4500. On the NAT, UDP 500 and 4500 should be transferred to the VPN Server. If any packet filters or firewalls are existing, open UDP 500 and 4500 ports."
My LAN is connected to the Internet via a Ubiquiti Edge Router X with its firewall and NAT enabled. For testing I temporarily set the firewall rules to default allow everything but it still didn't work. I also tried port forwarding from UDP/500 and UDP/4500 to those ports on my server but still no luck.
Is this an issue with using VPN Azure with the Android built-in VPN client or is my firewall still blocking something somehow? I don't think my ISP is blocking anything. Previously I have been able to successfully configure connections between two NAT'd LANs using VPN Azure with linux clients and servers.
Thanks,
Dave
I am running a SoftEther VPN server on a linux computer which is part of my LAN. I enabled the L2TP function on the VPN server and set the PSK by following these instructions on the website: "L2TP/IPsec Setup Guide for SoftEther VPN Server".
When I configured the built-in Android VPN client I specified the user name, user password, pre-shared key, type=L2TP/IPSec PSK, and forwarding routes (0.0.0.0/0). When I connect my phone to my LAN via WiFi and specify the private IP address (192.168.2.107) for my VPN server, I am able to connect without any problems. However, when I try to connect from my phone using the VPN Azure hostname or IP (such as ABC.vpnazure.net) I am unable to connect. From the server logs it appears that the connection request is never reaching my server.
The documentation says this: "If your SoftEther VPN Server is behind the NAT or firewall, you have to expose the UDP port 500 and 4500. On the NAT, UDP 500 and 4500 should be transferred to the VPN Server. If any packet filters or firewalls are existing, open UDP 500 and 4500 ports."
My LAN is connected to the Internet via a Ubiquiti Edge Router X with its firewall and NAT enabled. For testing I temporarily set the firewall rules to default allow everything but it still didn't work. I also tried port forwarding from UDP/500 and UDP/4500 to those ports on my server but still no luck.
Is this an issue with using VPN Azure with the Android built-in VPN client or is my firewall still blocking something somehow? I don't think my ISP is blocking anything. Previously I have been able to successfully configure connections between two NAT'd LANs using VPN Azure with linux clients and servers.
Thanks,
Dave