I've updated the OpenVPN Connect iOS app on 4 devices to version 3 and I'm having issues.
VPN won't connect anymore and once I import my ovpn profile and try to connect, the app crashes. There is no way to open the app even after force killing the app and rebooting the phone. I need to uninstall and reinstall.
I'm using iPhone 6s, iPhone 7 with iOS 11.4.1.
The server is running on a Ubquiti EdgeRouter X.
The same profile with OpenVPN 1.2.9 or on a PC/Mac laptops works flawlessly.
Here's the client config file:
Code: Select all
client
dev tun
proto tcp
remote vpnhost 443
float
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verb 3
auth sha256
cipher aes-256-cbc
key-direction 1
<ca>
-----BEGIN CERTIFICATE-----
ccc
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
ccc
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
ccc
-----END RSA PRIVATE KEY-----
</key>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
ccc
-----END OpenVPN Static key V1-----
</tls-auth>
Code: Select all
2018-19-29 21:19:51 1
2018-19-29 21:19:51 ----- OpenVPN Start -----
OpenVPN core 3.2 ios arm64 64-bit PT_PROXY built on Aug 17 2018 09:49:39
2018-19-29 21:19:51 Frame=512/2048/512 mssfix-ctrl=1250
2018-19-29 21:19:51 UNUSED OPTIONS
5 [resolv-retry] [infinite]
6 [nobind]
7 [persist-key]
8 [persist-tun]
10 [verb] [3]
2018-19-29 21:19:51 EVENT: RESOLVE
2018-19-29 21:19:51 Contacting [x.x.x.x]:443/TCP via TCP
2018-19-29 21:19:51 EVENT: WAIT
2018-19-29 21:19:51 Connecting to [x.x.x.x]:443 (x.x.x.x) via TCPv4
2018-19-29 21:19:51 EVENT: CONNECTING
2018-19-29 21:19:51 Tunnel Options:V4,dev-type tun,link-mtu 1571,tun-mtu 1500,proto TCPv4_CLIENT,keydir 1,cipher AES-256-CBC,auth SHA256,keysize 256,tls-auth,key-method 2,tls-client
2018-19-29 21:19:51 Creds: UsernameEmpty/PasswordEmpty
2018-19-29 21:19:51 Peer Info:
IV_GUI_VER=net.openvpn.connect.ios 3.0.0-712
IV_VER=3.2
IV_PLAT=ios
IV_NCP=2
IV_TCPNL=1
IV_PROTO=2
IV_AUTO_SESS=1
Here's the server log:
Code: Select all
Aug 29 21:19:51 router openvpn[1857]: TCP connection established with [AF_INET]x.x.x.x:36908
Aug 29 21:19:51 router openvpn[1857]: x.x.x.x:36908 TLS: Initial packet from [AF_INET]x.x.x.x:36908, sid=5fc26525 6d904988
Aug 29 21:19:52 router openvpn[1857]: x.x.x.x:36908 Connection reset, restarting [0]
Aug 29 21:19:52 router openvpn[1857]: x.x.x.x:36908 SIGUSR1[soft,connection-reset] received, client-instance restarting