I've followed this tutorial to set up a StrongSwan VPN server, with the exceptions that I was using Debian 9, and that I used certs I already had from Let's Encrypt instead of standing up a CA. However, I still cannot connect to the VPN server. When I try to use the built-in Windows 10 VPN client, it gives an error that
The network connection between your computer could not be established because the remote server is not responding. This could be because one of the network devices (e.g, firewalls, NAT, routers, etc) between your computer and the remote server is not configured to allow VPN connections. Please contact your Administrator or your service provider to determine which devices may be causing the problem.
I tried connecting my computer directly to the server without any intervening device, and could successfully ping it but still could not connect to the vpn. Furthermore, ufw is set to allow the required ports, 500 and 4500, and nmap -sU -p 500 [VPN server IP] confirmed that the ports were open to UDP packets.
Setting the logging level to maximum, I didn't recognize any errors or warnings except a couple of lines that said
Aug 13 17:28:16 vpn ipsec[2733]: 14[IKE] EAP-Identity request configured, but not supported Aug 13 17:28:16 vpn ipsec[2733]: 14[IKE] loading EAP_MSCHAPV2 method failed
I can't figure out what else might be the problem, so I guess that it has to be related to those lines. What can I do to fix that?