I cannot setup connection after reinstalling OpenVPN Connect app on iPhone 5s with iOS 11.1.
I have tried to import .ovpn file using iOS share feature from Readdle's Documents app, Files app and even email attachment. OpenVPN app starts and nothing happens. No alerts, warnings, options and so on, just "WELCOME TO OPENVPN".
My .ovpn file is valid and working on my Mac and Ubuntu machines. And it WAS working on iOS earlier. Any help would be appreciated.
Cannot import ovpn file
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Dec 19, 2017 2:36 am
Re: Cannot import ovpn file
I have the same problem. App is just shows help, no error message. I am using iCloud drive and open in OpenVPN.
client
nobind
dev tun
remote-cert-tls server
remote ovpn.domain.net 1194 udp
<key>
-----BEGIN PRIVATE KEY-----
=
-----END PRIVATE KEY-----
</key>
<cert>
-----BEGIN CERTIFICATE-----
=
-----END CERTIFICATE-----
</cert>
<ca>
-----BEGIN CERTIFICATE-----
=
-----END CERTIFICATE-----
</ca>
key-direction 1
redirect-gateway def1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
ccbb
-----END OpenVPN Static key V1-----
</tls-auth>
client
nobind
dev tun
remote-cert-tls server
remote ovpn.domain.net 1194 udp
<key>
-----BEGIN PRIVATE KEY-----
=
-----END PRIVATE KEY-----
</key>
<cert>
-----BEGIN CERTIFICATE-----
=
-----END CERTIFICATE-----
</cert>
<ca>
-----BEGIN CERTIFICATE-----
=
-----END CERTIFICATE-----
</ca>
key-direction 1
redirect-gateway def1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
ccbb
-----END OpenVPN Static key V1-----
</tls-auth>
- ordex
- OpenVPN Inc.
- Posts: 444
- Joined: Wed Dec 28, 2016 2:32 am
- Location: IRC #openvpn-devel @ libera.chat
Re: Cannot import ovpn file
we had a couple of reports about this, but we have never been able to reproduce the problem.
All the people reporting the problem have said that at some point it started working again, like if iOS was preventing the file from being opened for some reason, but only temporary.
Does this happen with every profile?
All the people reporting the problem have said that at some point it started working again, like if iOS was preventing the file from being opened for some reason, but only temporary.
Does this happen with every profile?
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Dec 19, 2017 2:36 am
Re: Cannot import ovpn file
OK, I think I figured out the problem. When sharing using iCloud drive from the files app. Apple places '~' into the filename, which OVPN may not allow. Sending it through email solved the issue. I think some error handling would help. Thanks for the reply.