jawj / IKEv2-setup

Set up Ubuntu Server 20.04 (or 18.04) as an IKEv2 VPN server
1.34k stars 330 forks source link

Can't connect on win11 and MacOS 14-15 #163

Open x0777 opened 1 day ago

x0777 commented 1 day ago

Good afternoon! Many thanks for your script. I've been using it for 2 years now. It works perfectly and without any errors on iOS 16-18 and macOS 10 Catalina.

However, there are a couple of issues:

1) It has stopped connecting on macOS 14-15. There are constant unsuccessful reconnection attempts or it just gets stuck at the connection stage. 2) Since a certain Windows 11 update, it has stopped connecting and gives the error "IKE authentication credentials are unacceptable." Tested on Ubuntu 18.04 and 24.04 servers.

What could be the cause, and where can I fix this?

*Just out of curiosity, I tried installing a similar script from GitHub, and it works on all devices.

jawj commented 1 day ago

It might be helpful to see the 'similar script', in order to see what configuration differences there are.

x0777 commented 1 day ago

Yes, I just did a clean install on Ubuntu 24.04 today. I tried to run it on macOS 15.0.1 — same symptoms since macOS 14.

It might be helpful to see the 'similar script', in order to see what configuration differences there are.

https://github.com/hwdsl2/setup-ipsec-vpn/tree/master - link to "similar script" https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/ikev2-howto.md#ikev2-troubleshooting - link to troubleshooting page of that script, where i found similar errors and their solutions. Might be helpful as well.