Page 1 of 1

Problems with OpenVPN Connect (iOS)

Posted: Tue Sep 06, 2016 6:32 am
by Openvpnbelsrus
Good afternoon. I have a Open VPN on the VPS. There are absolutely a working config file * .ovpn who successfully connected to windows openvpn client, linux and android. However, on the iPhone export error. What could be the problem? Perhaps some parameters of the configuration file to blame? Error Screenshot https://db.tt/gBu56HDh

Image

*.ovpn
remote %ip% %port%
client
dev tun
ping 10
comp-lzo
proto udp
tls-client
remote-cert-tls server
verb 3
pull
tls-auth 1
key-direction 1
<ca>
-----BEGIN CERTIFICATE-----
*
-----END CERTIFICATE-----
</ca>

<cert>
-----BEGIN CERTIFICATE-----
*
-----END CERTIFICATE-----
</cert>

<key>
-----BEGIN PRIVATE KEY-----
*
-----END PRIVATE KEY-----
</key>

<tls-auth>
-----BEGIN OpenVPN Static key V1-----
*
-----END OpenVPN Static key V1-----
</tls-auth>

Re: Problems with OpenVPN Connect (iOS)

Posted: Wed Sep 07, 2016 8:39 am
by Openvpnbelsrus
have active users on the forum? =)
You can say something about this? what the export problem?
Which team in the config file to blame?

Re: Problems with OpenVPN Connect (iOS)

Posted: Mon Sep 26, 2016 6:16 pm
by JDunphy
Same results here... Did notice that if I install openvpnas on same server then it could handle my ovpn file and work. Odd.

I wonder if it is parsing comments from the ovpn configuration file that is in the comments? I took the generated headers that was just comments from an openvpnas config file and it behaved differently. The openvpn connect client is parsing something in those comments because it will switch its message from 'connect' to 'connecting as XXXX when you have those comments on the OSX. The XXXX could be coming from the comment line: OVPN_ACCESS_SERVER_PROFILE=XXXX@a.b.c.d/AUTOLOGIN that is a comment.

My ovpn config works perfectly with android, various linux clients and perfectly with tunnelblick on the mac. It even worked with an older version of openvpn connect on OSX but not anymore. Just really weird how I have to install opevnpas to force openvpn connect to work with my own openvpn file. Openvpn connect works perfectly for any openvpnas file so I am missing something here. My openvpn only runs on udp and It looks much like yours. Starting to do some research into this but saw your post which is what I see also. My ovpn file looks identical to yours but I am only using udp and a non standard port.

Re: Problems with OpenVPN Connect (iOS)

Posted: Tue Sep 27, 2016 6:56 am
by Openvpnbelsrus
JDunphy wrote:Same results here... Did notice that if I install openvpnas on same server then it could handle my ovpn file and work. Odd.

I wonder if it is parsing comments from the ovpn configuration file that is in the comments? I took the generated headers that was just comments from an openvpnas config file and it behaved differently. The openvpn connect client is parsing something in those comments because it will switch its message from 'connect' to 'connecting as XXXX when you have those comments on the OSX. The XXXX could be coming from the comment line: OVPN_ACCESS_SERVER_PROFILE=XXXX@a.b.c.d/AUTOLOGIN that is a comment.

My ovpn config works perfectly with android, various linux clients and perfectly with tunnelblick on the mac. It even worked with an older version of openvpn connect on OSX but not anymore. Just really weird how I have to install opevnpas to force openvpn connect to work with my own openvpn file. Openvpn connect works perfectly for any openvpnas file so I am missing something here. My openvpn only runs on udp and It looks much like yours. Starting to do some research into this but saw your post which is what I see also. My ovpn file looks identical to yours but I am only using udp and a non standard port.

well as fix file error detection? Found a reason?

Re: Problems with OpenVPN Connect (iOS)

Posted: Mon Oct 10, 2016 9:42 am
by ByRam
Hi guys,

I have an issue related with a ovpn profile.
I am using openvpn on my iphone6, and want to copy this config to my iphone 5.
How can i export my config file (profile) from iphone 6?
İphone 5 is using ios 7.1.2
İphone 6 is using ips 10

Please help me about this problem..
zizoub@gmail.com

Re: Problems with OpenVPN Connect (iOS)

Posted: Thu Oct 27, 2016 8:50 pm
by kkanters
Same problem. Openvpn does not connect on iphone but does on ipad.
Same ios, version openvpn and certificate.
Ios bug or app bug ???