Hello,
I have 2 OpenVPN clients(laptop and ipad) trying to connect to the same server. Both are configured in the same way however the laptop can connect and the ipad cannot connect. I have been trying to read the client log to understand why the ipad cannot connect and the laptop does connect.
I have taken the openvpn config from the ipad and tried and tested it on the macbook and it works fine.
I imagine this could be a firewall issue?
Could someone confirm this?
Below is the output from the ipad client
2015-02-23 17:18:37 SSL Handshake: TLSv1.0/TLS-DHE-RSA-WITH-AES-256-CBC-SHA
2015-02-23 17:18:37 Session is ACTIVE
2015-02-23 17:18:37 EVENT: GET_CONFIG
2015-02-23 17:18:37 Sending PUSH_REQUEST to server...
2015-02-23 17:18:37 OPTIONS:
0 [redirect-gateway] [def1] [bypass-dhcp]
1 [dhcp-option] [DNS] [8.8.8.8]
2 [dhcp-option] [DNS] [8.8.4.4]
3 [route] [10.8.0.1]
4 [topology] [net30]
5 [ping] [10]
6 [ping-restart] [120]
7 [ifconfig] [10.8.0.10] [10.8.0.9]
2015-02-23 17:18:37 LZO-ASYM init swap=0 asym=0
2015-02-23 17:18:37 EVENT: ASSIGN_IP
2015-02-23 17:18:37 Connected via tun
2015-02-23 17:18:37 EVENT: CONNECTED @gamaya.net:1194 (46.226.108.41) via /UDPv4 on tun/10.8.0.10/
2015-02-23 17:18:37 NET Internet:ReachableViaWiFi/-R t----l-
2015-02-23 17:18:37 SetStatus Connected
Below is the log output from the laptop
2015-02-23 17:44:21 *Tunnelblick: Established communication with OpenVPN
2015-02-23 17:44:21 OpenVPN 2.3.6 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [PKCS11] [MH] [IPv6] built on Jan 8 2015
2015-02-23 17:44:21 library versions: OpenSSL 1.0.1k 8 Jan 2015, LZO 2.08
2015-02-23 17:44:21 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:1337
2015-02-23 17:44:21 Need hold release from management interface, waiting...
2015-02-23 17:44:21 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:1337
2015-02-23 17:44:21 MANAGEMENT: CMD 'pid'
2015-02-23 17:44:21 MANAGEMENT: CMD 'state on'
2015-02-23 17:44:21 MANAGEMENT: CMD 'state'
2015-02-23 17:44:21 MANAGEMENT: CMD 'bytecount 1'
2015-02-23 17:44:21 MANAGEMENT: CMD 'hold release'
2015-02-23 17:44:21 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2015-02-23 17:44:21 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2015-02-23 17:44:21 Socket Buffers: R=[196724->65536] S=[9216->65536]
2015-02-23 17:44:21 MANAGEMENT: >STATE:1424684661,RESOLVE,,,
2015-02-23 17:44:21 UDPv4 link local: [undef]
2015-02-23 17:44:21 UDPv4 link remote: [AF_INET]46.xxx.xxx.41:1194
2015-02-23 17:44:21 MANAGEMENT: >STATE:1424684661,WAIT,,,
2015-02-23 17:44:21 MANAGEMENT: >STATE:1424684661,AUTH,,,
2015-02-23 17:44:21 TLS: Initial packet from [AF_INET]46.xxx.xxx.41:1194, sid=f3d41462 8babda1b
2015-02-23 17:44:24 VERIFY OK: depth=1, C=FR, ST=LX, L=, O=, OU=IT, CN=, name=BASE, emailAddress=info@.net
2015-02-23 17:44:24 VERIFY OK: depth=0, C=FR, ST=LX, L=, O=, OU=IT, CN=, name=, emailAddress=info@
2015-02-23 17:44:27 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
2015-02-23 17:44:27 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
2015-02-23 17:44:27 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
2015-02-23 17:44:27 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
2015-02-23 17:44:27 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
2015-02-23 17:44:27 [GAMAYA] Peer Connection Initiated with [AF_INET]46.xxx.xxx.41:1194
2015-02-23 17:44:28 MANAGEMENT: >STATE:1424684668,GET_CONFIG,,,
2015-02-23 17:44:30 SENT CONTROL [GAMAYA]: 'PUSH_REQUEST' (status=1)
2015-02-23 17:44:30 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.10 10.8.0.9'
2015-02-23 17:44:30 OPTIONS IMPORT: timers and/or timeouts modified
2015-02-23 17:44:30 OPTIONS IMPORT: --ifconfig/up options modified
2015-02-23 17:44:30 OPTIONS IMPORT: route options modified
2015-02-23 17:44:30 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
2015-02-23 17:44:30 Opened utun device utun0
2015-02-23 17:44:30 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
2015-02-23 17:44:30 MANAGEMENT: >STATE:1424684670,ASSIGN_IP,,10.8.0.10,
2015-02-23 17:44:30 /sbin/ifconfig utun0 delete
ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
2015-02-23 17:44:30 NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
2015-02-23 17:44:30 /sbin/ifconfig utun0 10.8.0.10 10.8.0.9 mtu 1500 netmask 255.255.255.255 up
2015-02-23 17:44:30 /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh -m -w -d -f -ptADGNWradsgnw utun0 1500 1542 10.8.0.10 10.8.0.9 init
**********************************************
Start of output from client.up.tunnelblick.sh
Retrieved from OpenVPN: name server(s) [ 8.8.8.8 8.8.4.4 ], search domain(s) [ ] and SMB server(s) [ ] and using default domain name [ openvpn ]
Not aggregating ServerAddresses because running on OS X 10.6 or higher
Setting search domains to 'openvpn' because running under OS X 10.6 or higher and the search domains were not set manually and 'Prepend domain name to search domains' was not selected
Saved the DNS and SMB configurations so they can be restored
Set ServerAddresses to 8.8.8.8 8.8.4.4
Set SearchDomains to openvpn
Set DomainName to openvpn
Flushed the DNS cache via dscacheutil
No matching processes were found
mDNSResponder not running. Not notifying it that the DNS cache was flushed
Setting up to monitor system configuration with process-network-changes
End of output from client.up.tunnelblick.sh
**********************************************
2015-02-23 17:44:33 *Tunnelblick: No 'connected.sh' script to execute
2015-02-23 17:44:33 /sbin/route add -net 46.226.108.41 192.168.50.1 255.255.255.255
add net 46.226.108.41: gateway 192.168.50.1
2015-02-23 17:44:33 /sbin/route add -net 0.0.0.0 10.8.0.9 128.0.0.0
add net 0.0.0.0: gateway 10.8.0.9
2015-02-23 17:44:33 /sbin/route add -net 128.0.0.0 10.8.0.9 128.0.0.0
add net 128.0.0.0: gateway 10.8.0.9
2015-02-23 17:44:33 MANAGEMENT: >STATE:1424684673,ADD_ROUTES,,,
2015-02-23 17:44:33 /sbin/route add -net 10.8.0.1 10.8.0.9 255.255.255.255
add net 10.8.0.1: gateway 10.8.0.9
2015-02-23 17:44:33 Initialization Sequence Completed
2015-02-23 17:44:33 MANAGEMENT: >STATE:1424684673,CONNECTED,SUCCESS,10.8.0.10,46.226.108.41
2015-02-23 17:44:38 *Tunnelblick process-network-changes: A system configuration change was ignored
2015-02-23 17:44:50 *Tunnelblick: Disconnecting; 'Disconnect' (toggle) menu command invoked
2015-02-23 17:44:50 *Tunnelblick: Disconnecting using 'kill'
2015-02-23 17:44:50 *Tunnelblick: No 'post-disconnect.sh' script to execute
2015-02-23 17:44:50 *Tunnelblick: Expected disconnection occurred.
2015-02-23 17:44:50 event_wait : Interrupted system call (code=4)
2015-02-23 17:44:50 /sbin/route delete -net 10.8.0.1 10.8.0.9 255.255.255.255
delete net 10.8.0.1: gateway 10.8.0.9
2015-02-23 17:44:50 /sbin/route delete -net 46.226.108.41 192.168.50.1 255.255.255.255
delete net 46.226.108.41: gateway 192.168.50.1
2015-02-23 17:44:50 /sbin/route delete -net 0.0.0.0 10.8.0.9 128.0.0.0
delete net 0.0.0.0: gateway 10.8.0.9
2015-02-23 17:44:50 /sbin/route delete -net 128.0.0.0 10.8.0.9 128.0.0.0
delete net 128.0.0.0: gateway 10.8.0.9
2015-02-23 17:44:50 Closing TUN/TAP interface
2015-02-23 17:44:50 /Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh -m -w -d -f -ptADGNWradsgnw utun0 1500 1542 10.8.0.10 10.8.0.9 init
**********************************************
Start of output from client.down.tunnelblick.sh
Cancelled monitoring of system configuration changes
Restored the DNS and SMB configurations
Flushed the DNS cache via dscacheutil
No matching processes were found
mDNSResponder not running. Not notifying it that the DNS cache was flushed
End of output from client.down.tunnelblick.sh
**********************************************
2015-02-23 17:44:50 SIGTERM[hard,] received, process exiting
2015-02-23 17:44:50 MANAGEMENT: >STATE:1424684690,EXITING,SIGTERM,,