I have an openVPN setup running on xubuntu 13.10 and it works fine..connecting from 2 windows clients..works without any issues, however having a couple of problems using openVPN connect on iOS to connect to the server
Using a .ovpn file with inline certificates as there's no other way to store the cert/keys on ios
the device is an iphone 5s
anyway - when the phone locks..after you unlock it the openVPN connect app will be saying (pause network unavaliable) ..but the network is avaliable and if i disconnect i can reconnect immediately and everything works fine - but while in this pause network unavaliable state i cant access the internet
I've asked in the irc channel/posted here before/searched and cant find anything
I can't see what I'm doing wrong..but i'm surprised not read anyone else with this
If anyone has any ideas on how to solve this...or maybe how to make the openVPN app auto reconnect after going into the pause network unaval state it'd be greatly appreciated
below is the log from the openVPN connect app and a screenshot showing the status;
2014-06-29 15:06:19 ----- OpenVPN Start (iOS 64-bit) -----
2014-06-29 15:06:19 UNUSED OPTIONS
5 [resolv-retry] [infinite]
6 [nobind]
7 [verb] [5]
8 [mute] [50]
9 [persist-key]
10 [persist-tun]
12 [log] [openvpn.log]
2014-06-29 15:06:19 LZO-ASYM init swap=0 asym=0
2014-06-29 15:06:19 EVENT: RESOLVE
2014-06-29 15:06:21 Contacting 78.105.9.21:1194 via UDP
2014-06-29 15:06:21 EVENT: WAIT
2014-06-29 15:06:21 Connecting to frogs.zapto.org:1194 (78.105.9.21) via UDPv4
2014-06-29 15:06:21 EVENT: CONNECTING
2014-06-29 15:06:21 Tunnel Options:V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client
2014-06-29 15:06:21 Peer Info:
IV_GUI_VER=net.openvpn.connect.ios 1.0.4-140
IV_VER=3.0
IV_PLAT=ios
IV_NCP=1
IV_LZO=1
2014-06-29 15:06:22 VERIFY OK: depth=1
cert. version : 3
serial number : F5:A5:ED:E1:2A:B7:B9:38
issuer name : C=UK, ST=PORTSMOUTH, L=PO, O=TEST VPN, OU=changeme, CN=iphone5, 0x29=changeme, emailAddress=mark@aol.com
subject name : C=UK, ST=PORTSMOUTH, L=PO, O=TEST VPN, OU=changeme, CN=iphone5, 0x29=changeme, emailAddress=mark@aol.com
issued on : 2013-10-16 22:13:05
expires on : 2023-10-14 22:13:05
signed using : RSA+SHA1
RSA key size : 1024 bits
2014-06-29 15:06:22 VERIFY OK: depth=0
cert. version : 3
serial number : 01
issuer name : C=UK, ST=PORTSMOUTH, L=PO, O=TEST VPN, OU=changeme, CN=iphone5, 0x29=changeme, emailAddress=mark@aol.com
subject name : C=UK, ST=PORTSMOUTH, L=PO, O=TEST VPN, OU=changeme, CN=dimension, 0x29=mark, emailAddress=mark@aol.com
issued on : 2013-10-16 22:13:46
expires on : 2023-10-14 22:13:46
signed using : RSA+SHA1
RSA key size : 1024 bits
2014-06-29 15:06:24 SSL Handshake: TLSv1.0/TLS-DHE-RSA-WITH-AES-256-CBC-SHA
2014-06-29 15:06:24 Session is ACTIVE
2014-06-29 15:06:25 EVENT: GET_CONFIG
2014-06-29 15:06:25 Sending PUSH_REQUEST to server...
2014-06-29 15:06:25 OPTIONS:
0 [redirect-gateway] [def1] [bypass-dhcp]
1 [route] [10.8.0.1]
2 [topology] [net30]
3 [ping] [10]
4 [ping-restart] [120]
5 [ifconfig] [10.8.0.22] [10.8.0.21]
2014-06-29 15:06:25 LZO-ASYM init swap=0 asym=0
2014-06-29 15:06:25 EVENT: ASSIGN_IP
2014-06-29 15:06:25 Google DNS fallback enabled
2014-06-29 15:06:25 Connected via tun
2014-06-29 15:06:25 EVENT: CONNECTED @frogs.zapto.org:1194 (78.105.9.21) via /UDPv4 on tun/10.8.0.22/
2014-06-29 15:06:25 NET Internet:ReachableViaWWAN/WR t----l-
2014-06-29 15:06:25 NET WiFi:NotReachable/WR t------
2014-06-29 15:07:44 OS Event: SLEEP
2014-06-29 15:07:44 TUN teardown
2014-06-29 15:07:44 EVENT: PAUSE
2014-06-29 15:07:44 NET Internet:NotReachable/-R tc---l-
2014-06-29 15:07:44 NET WiFi:NotReachable/-R tc-----
2014-06-29 15:07:44 NET Internet:NotReachable/-- -------
2014-06-29 15:07:44 NET WiFi:NotReachable/-- -------
2014-06-29 15:07:46 OS Event: WAKEUP
2014-06-29 15:07:49 RESUME TEST: Internet:NotReachable/-- ------- WiFi:NotReachable/-- -------
2014-06-29 15:08:16 OS Event: SLEEP
2014-06-29 15:08:49 OS Event: WAKEUP
2014-06-29 15:08:52 RESUME TEST: Internet:NotReachable/-- ------- WiFi:NotReachable/-- -------
2014-06-29 15:09:13 OS Event: SLEEP
2014-06-29 15:09:44 OS Event: WAKEUP
2014-06-29 15:09:47 RESUME TEST: Internet:NotReachable/-- ------- WiFi:NotReachable/-- -------
2014-06-29 15:10:14 OS Event: SLEEP
2014-06-29 15:10:29 OS Event: WAKEUP
2014-06-29 15:10:32 RESUME TEST: Internet:NotReachable/-- ------- WiFi:NotReachable/-- -------
2014-06-29 15:11:06 EVENT: DISCONNECTED
2014-06-29 15:11:06 Raw stats on disconnect:
BYTES_IN : 6885
BYTES_OUT : 6644
PACKETS_IN : 64
PACKETS_OUT : 71
TUN_BYTES_IN : 1354
TUN_BYTES_OUT : 2307
TUN_PACKETS_IN : 19
TUN_PACKETS_OUT : 18
N_PAUSE : 1
2014-06-29 15:11:06 Performance stats on disconnect:
CPU usage (microseconds): 67531
Tunnel compression ratio (uplink): 4.90694
Tunnel compression ratio (downlink): 2.9844
Network bytes per CPU second: 200337
Tunnel bytes per CPU second: 54212
2014-06-29 15:11:06 ----- OpenVPN Stop -----
