I have been trying to get openVPN working on my iphone. I have an existing setup that works from Win7 so I am trying the same setup with ios. I copied the required openvpn.ovpn, ca.crt, client.crt and client.key. All import fine. The logs look like the tunnel connects and the user is authorized, but no ip config is displayed and then the connection times out after about 20secs.
I have attached sections of the ios log.
Can anyone help ?
Chris
Code: Select all
2013-01-22 22:50:30 ----- OpenVPN Start -----
2013-01-22 22:50:30 LZO-ASYM init swap=0 asym=0
2013-01-22 22:50:30 EVENT: RESOLVE
2013-01-22 22:50:31 EVENT: WAIT
2013-01-22 22:50:31 Connecting to xxxxxxx.serveftp.com:1194 (86.166.xx.xxx) via UDPv4
2013-01-22 22:50:31 EVENT: CONNECTING
2013-01-22 22:50:32 Tunnel Options:V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client
2013-01-22 22:50:32 Peer Info:
IV_VER=1.0
IV_PLAT=ios
IV_NCP=1
IV_LZO=1
2013-01-22 22:50:32 VERIFY OK: depth=0
cert. version : 3
serial number : 02
issuer name : C=GB, ST=Worcs, L=Worcester, O=OpenVPN, OU=home, CN=diskstation, 0x29=chris, emailAddress=me@hotmail.com
subject name : C=GB, ST=Worcs, L=Worcester, O=OpenVPN, CN=server, 0x29=chris, emailAddress=me@hotmail.com
issued on : 2012-02-18 22:15:29
expires on : 2022-02-15 22:15:29
signed using : RSA+MD5
RSA key size : 1024 bits
2013-01-22 22:50:32 VERIFY OK: depth=1
cert. version : 3
serial number : F1:60:E7:AE:25:7F:F7:14
issuer name : C=GB, ST=Worcs, L=Worcester, O=OpenVPN, OU=home, CN=diskstation, 0x29=chris, emailAddress=me@hotmail.com
subject name : C=GB, ST=Worcs, L=Worcester, O=OpenVPN, OU=home, CN=diskstation, 0x29=chris, emailAddress=me@hotmail.com
issued on : 2012-02-18 22:00:27
expires on : 2022-02-15 22:00:27
signed using : RSA+SHA1
RSA key size : 1024 bits
2013-01-22 22:50:32 SSL Handshake: TLSv1.0/SSL-EDH-RSA-AES-256-SHA
2013-01-22 22:50:32 Session is ACTIVE
2013-01-22 22:50:32 LZO-ASYM init swap=0 asym=0
2013-01-22 22:50:32 Tunnel Options:V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client
2013-01-22 22:50:32 Peer Info:
IV_VER=1.0
IV_PLAT=ios
IV_NCP=1
IV_LZO=1
....repeat lots of times ~20sec
then
2013-01-21 23:59:57 SSL Handshake: TLSv1.0/SSL-EDH-RSA-AES-256-SHA
2013-01-21 23:59:57 Session is ACTIVE
2013-01-21 23:59:57 LZO-ASYM init swap=0 asym=0
2013-01-21 23:59:57 Tunnel Options:V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client
2013-01-21 23:59:57 Peer Info:
IV_VER=1.0
IV_PLAT=ios
IV_NCP=1
IV_LZO=1
2013-01-21 23:59:57 VERIFY OK: depth=0
cert. version : 3
serial number : 02
issuer name : C=GB, ST=Worcs, L=Worcester, O=OpenVPN, OU=home, CN=diskstation, 0x29=chris, emailAddress=me@hotmail.com
subject name : C=GB, ST=Worcs, L=Worcester, O=OpenVPN, CN=server, 0x29=chris, emailAddress=me@hotmail.com
issued on : 2012-02-18 22:15:29
expires on : 2022-02-15 22:15:29
signed using : RSA+MD5
RSA key size : 1024 bits
2013-01-21 23:59:57 VERIFY OK: depth=1
cert. version : 3
serial number : F1:60:E7:AE:25:7F:F7:14
issuer name : C=GB, ST=Worcs, L=Worcester, O=OpenVPN, OU=home, CN=diskstation, 0x29=chris, emailAddress=me@hotmail.com
subject name : C=GB, ST=Worcs, L=Worcester, O=OpenVPN, OU=home, CN=diskstation, 0x29=chris, emailAddress=me@hotmail.com
issued on : 2012-02-18 22:00:27
expires on : 2022-02-15 22:00:27
signed using : RSA+SHA1
RSA key size : 1024 bits
2013-01-21 23:59:58 Sending PUSH_REQUEST to server...
2013-01-22 00:00:01 Sending PUSH_REQUEST to server...
2013-01-22 00:00:04 Sending PUSH_REQUEST to server...
2013-01-22 00:00:07 Sending PUSH_REQUEST to server...
2013-01-22 00:00:10 Sending PUSH_REQUEST to server...
2013-01-22 00:00:12 EVENT: CONNECTION_TIMEOUT [ERR]
2013-01-22 00:00:12 EVENT: DISCONNECTED
2013-01-22 00:00:12 Raw stats on disconnect:
BYTES_IN : 11176
BYTES_OUT : 7870
PACKETS_IN : 108
PACKETS_OUT : 108
CONNECTION_TIMEOUT : 1
2013-01-22 00:00:12 Performance stats on disconnect:
CPU usage (microseconds): 514133
Network bytes per CPU second: 37044
Tunnel bytes per CPU second: 0
2013-01-22 00:00:12 ----- OpenVPN Stop -----
2013-01-22 00:00:12 EVENT: DISCONNECT_PENDING