Unable to connect through "SETTINGS", only through "OpenVPN Connect"
Posted: Mon Jan 16, 2017 8:26 pm
Hey,
I have just noticed that I am unable to connect to my VPN server using native SETTINGS application on an iPhone:
It stays in "Connecting..." state for a while and then time-outs. If I use "OpenVPN Connect" application, I am able to connect without any problems.
"OpenVPN Connect" logs are below:
Server side also says nothing:
I have just noticed that I am unable to connect to my VPN server using native SETTINGS application on an iPhone:
It stays in "Connecting..." state for a while and then time-outs. If I use "OpenVPN Connect" application, I am able to connect without any problems.
"OpenVPN Connect" logs are below:
Code: Select all
2017-01-16 22:03:03 ----- OpenVPN Start -----
OpenVPN core 3.0.11 ios arm64 64-bit built on Apr 15 2016 14:13:50
2017-01-16 22:03:03 Frame=512/2048/512 mssfix-ctrl=1250
2017-01-16 22:03:03 UNUSED OPTIONS
2 [topology] [subnet]
5 [resolv-retry] [infinite]
6 [nobind]
7 [persist-key]
8 [persist-tun]
9 [verb] [6]
2017-01-16 22:03:03 EVENT: RESOLVE
2017-01-16 22:03:03 Contacting 78.61.XX.YY:1194 via TCP
2017-01-16 22:03:03 EVENT: WAIT
2017-01-16 22:03:03 SetTunnelSocket returned 1
2017-01-16 22:03:03 Connecting to [78.61.XX.YY]:1194 (78.61.XX.YY) via TCPv4
2017-01-16 22:03:03 EVENT: CONNECTING
2017-01-16 22:03:03 Tunnel Options:V4,dev-type tun,link-mtu 1559,tun-mtu 1500,proto TCPv4_CLIENT,cipher AES-256-CBC,auth SHA1,keysize 256,key-method 2,tls-client
2017-01-16 22:03:03 Creds: UsernameEmpty/PasswordEmpty
2017-01-16 22:03:03 Peer Info:
IV_GUI_VER=net.openvpn.connect.ios 1.0.7-199
IV_VER=3.0.11
IV_PLAT=ios
IV_NCP=2
IV_TCPNL=1
IV_PROTO=2
2017-01-16 22:03:03 NET Internet:ReachableViaWWAN/WR t------
2017-01-16 22:03:03 NET WiFi:NotReachable/WR t------
2017-01-16 22:03:04 VERIFY OK: depth=1
cert. version : 3
serial number : 42:94:EA:E5:F8:4D:40:F0
issuer name : CN=MikrotikCA
subject name : CN=MikrotikCA
issued on : 2016-12-30 20:54:14
expires on : 2017-12-30 20:54:14
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true
key usage : Key Cert Sign, CRL Sign
2017-01-16 22:03:04 VERIFY OK: depth=0
cert. version : 3
serial number : 2B:98:E1:8E:4E:86:55:D7
issuer name : CN=MikrotikCA
subject name : CN=OVPN-Server
issued on : 2016-12-30 20:57:45
expires on : 2017-12-30 20:57:45
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true
key usage : Digital Signature, Key Encipherment, Data Encipherment, Key Cert Sign, CRL Sign
ext key usage : TLS Web Server Authentication, TLS Web Client Authentication
2017-01-16 22:03:45 Session invalidated: KEEPALIVE_TIMEOUT
2017-01-16 22:03:45 Client terminated, restarting in 2...
2017-01-16 22:03:47 EVENT: RECONNECTING
2017-01-16 22:03:47 EVENT: RESOLVE
2017-01-16 22:03:47 Contacting 78.61.XX.YY:1194 via TCP
2017-01-16 22:03:47 EVENT: WAIT
2017-01-16 22:03:47 SetTunnelSocket returned 1
2017-01-16 22:03:47 Connecting to [78.61.XX.YY]:1194 (78.61.XX.YY) via TCPv4
2017-01-16 22:03:47 EVENT: CONNECTING
2017-01-16 22:03:47 Tunnel Options:V4,dev-type tun,link-mtu 1559,tun-mtu 1500,proto TCPv4_CLIENT,cipher AES-256-CBC,auth SHA1,keysize 256,key-method 2,tls-client
2017-01-16 22:03:47 Creds: UsernameEmpty/PasswordEmpty
2017-01-16 22:03:47 Peer Info:
IV_GUI_VER=net.openvpn.connect.ios 1.0.7-199
IV_VER=3.0.11
IV_PLAT=ios
IV_NCP=2
IV_TCPNL=1
IV_PROTO=2
2017-01-16 22:03:48 VERIFY OK: depth=1
cert. version : 3
serial number : 42:94:EA:E5:F8:4D:40:F0
issuer name : CN=MikrotikCA
subject name : CN=MikrotikCA
issued on : 2016-12-30 20:54:14
expires on : 2017-12-30 20:54:14
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true
key usage : Key Cert Sign, CRL Sign
2017-01-16 22:03:48 VERIFY OK: depth=0
cert. version : 3
serial number : 2B:98:E1:8E:4E:86:55:D7
issuer name : CN=MikrotikCA
subject name : CN=OVPN-Server
issued on : 2016-12-30 20:57:45
expires on : 2017-12-30 20:57:45
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true
key usage : Digital Signature, Key Encipherment, Data Encipherment, Key Cert Sign, CRL Sign
ext key usage : TLS Web Server Authentication, TLS Web Client Authentication
2017-01-16 22:04:03 EVENT: CONNECTION_TIMEOUT [ERR]
2017-01-16 22:04:03 EVENT: DISCONNECTED
2017-01-16 22:04:03 Raw stats on disconnect:
BYTES_IN : 5668
BYTES_OUT : 2004
PACKETS_IN : 18
PACKETS_OUT : 12
KEEPALIVE_TIMEOUT : 1
CONNECTION_TIMEOUT : 1
N_RECONNECT : 1
2017-01-16 22:04:03 Performance stats on disconnect:
CPU usage (microseconds): 265350
Network bytes per CPU second: 28912
Tunnel bytes per CPU second: 0
2017-01-16 22:04:03 EVENT: DISCONNECT_PENDING
2017-01-16 22:04:03 ----- OpenVPN Stop -----