I have been using OpenVPN on my iPhone for quite a while without any problems. There never was a problem to connect to any of the configured profiles. However, when starting the app now, I cannot connect to any of my profiles anymore. When activating the connection switch it spins indefinitely, the logs show nothing at all.
Since I have not changed the profiles, the servers or the OpenVPN app (v3.3.3 5109), I assume this can be related to the latest iOS Update to 16.5 (20F66)?
I tried to re-install the app but this did not solve the problem.
To import the profiles I add I connect my iPhone the my Mac and paste the config files to the OpenVPN folder on the device. The app automatically recognizes the files and offers them as import at "Import Profile/File".
After selecting a profile file and entering the private key password a iOS system message pops up "OpenVPN would like to add VPN Configurations - All network activity on this ipHone may be filtered or monitored when using VPN. Allow / Don't allow".
After tapping "Allow" the view switches to the iOS VPN settings screen and then passcode is requested to add confirm the connection. This switches back to OpenVPN whre the connection activity indicator spins and spins...
Only when manually switching back to the iOS VPN settings screen and tapping the connection switch there, the status changes to "Connected". Back in the OpenVPN app the connection is also shown as established. I can now use the VPN connection as usual. Disconnecting and reconnecting within the OpenVPN app is now also no problem. However, when restarting the OpenVPN app, the problem is the same as before: Connection cannot be establishes (nothing in the logs), only manually switching to iOS VPN settings screen does the trick.
I could live with this workaround but I need more than one profile. After importing the second profile, the trick does not work any more. Connection cannot be established on the iOS VPN settings screen as well.
- I assume that the config files are OK. They can be used on other devices (e.g. with Tunnelblick on macOS) without any problem. Additionally the first imported file (whichever this is) can be used when using the iOS VPN settings screen. The same files worked on iOS without any problem before.
- OpenVPN does not show any logs / problems. It simply does not connect.