I’e read through no less than 40 blog/guide posts on how to do this and still cannot get it to work. I managed to get IKEv2 working just fine with Windows 10, but I tried the whole lot of IKEv1 posts such as:
ALL of which simply do not work with iOS 12. Can someone please save my soul so I can avoid going back to OpenVPN and help me find a working solution for iOS/OSX with IKEv2 or IKEv1?
I’ve tried nearly every combination of cipher, setting, and PF group possible surely, and also the numerous methods for PSK and Xauth config. Nothing works. If you can help me understand why you’ll be my hero.
I have IKEv2 working concurrently on Win 10, iOS, and Android. I too took forever to get mine working. I’ll gather some screenshots and post them. One thing you don’t mention is what identifier you use. If you want to avoid installing certificates, you’ll need to use a lets encrypt cert.
Please post your IPSec logs/config and firewall/NAT rules. Please remove any personally identifiable information. This would help people troubleshoot your issue better. I have IKEv2 using EAP-TLS (self-signed certs) working on macOS 10.12.x-10.13.x and iOS 11.x-12.x. This is the guide that I followed, albeit with a few tweaks.
That would be fantastic. I have my own CA and wildcard cert I can use, but I could also do lets encrypt. That would be super helpful if I could see some references from your environment. Thank you!
I have only done it with lets encrypt, so I can’t help much with rolling your own CA for this.
One issue I ran into along the way was with wildcards. I can’t remember if it was only on android strongswan client, or all clients. But it wouldn’t accept a wild card. I had to use a cert with the domain/sub-domain explicitly as a SAN.
Use your own self-signed, it’d be much easier that way. I have this all completely working on all 3 OSs as well, would definitely be willing to help. You can PM me and we can set up a time to go over everything.
One thing to note, you’ll need to use the Apple Configurator to make a VPN profile that works on iOS, which means you’ll need to have access to a computer running OS X. Apple doesn’t distribute/stopped supporting a windows compatible version of the Configurator.