For me it is not working, but it is 99% probability that i am doing something wrong
iOS Keychain Method
Working wifi from neigbour (very kind family)
Static IP on IPFire
Creating .ovpn12 and .ovpn
[root@ipfire ~]# cd /root/ios
[root@ipfire ios]# chmod +x create_ovpn12.sh
[root@ipfire ios]# ./create_ovpn12.sh test-TO-IPFire.ovpn testtest
Using test-TO-IPFire.ovpn to create test.ovpn and test.ovpn12
created Root Certificate
created TLS Authentification Key
created test.ovpn
created Client Certificate
created test.ovpn12
clean-up files
[root@ipfire ios]#
First importing and installing .ovpn12. Tipping password. Then importing and installing .ovpn.
When instaling .ovpn also using already imported .ovpn12 file.
OpenVPN app show banner error attempting to connect…
Looking through other forum posts and on the internet for the above error message a common theme is that the setting for TLS Auth is missing on one side, either on the server or the client.
The script you are following includes the creation of the TLS Authentication key. What it actually does is create the location in your .ovpn file and then copies across what is in the ta.key file on your IPFire system. I suspect that you have not enabled the TLS Channel Protection box on your OpenVPN Server page. If that is the case then the script would have copied nothing across so your ta.key section will be empty.
I suspect you don’t have the TLS Auth enabled on the server so you need to enable the TLS Channel Protection on the server.
You could alternatively edit the test.ovpn file created by the script to remove all the ta.key sections (or comment them out). I don’t know if something would need to be done with the test.ovpn12 file without going through the script in much more detail.
Edit:-
It’s the test.ovpn12 file that you would need to edit the ta.key sections out of. The test.ovpn file includes the Client certificate and the private key.