I have a Windows 7 computer hosting the OpenVPN server. Everything works fine from Windows computers. Took the same config file and certificates and tried to connect to same server from Mac OS 10.8.5. Tunnelblick indicates that it is connected yet I am unable to ping the server. Turned off the firewall but no change. Not sure if something different needs to be done on a Mac than from a PC. My client config file is:
The log file from Tunnelblick is as follows, hopefully someone can read this and determine what is going wrong. Also every time I disconnect the session I loose my network connection and have to reboot my computer.
*Tunnelblick: OS X 10.8.5; Tunnelblick 3.5beta08 (build 4236); Admin user
Configuration office
================================================================================
"Sanitized" full configuration file
client
dev tun
proto udp
remote x.x.x.x 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "ca-cas.crt"
cert "laura.crt"
key "laura.key"
tls-auth "ta-cas.key" 1
comp-lzo
verb 3
mute 20
================================================================================
There are no unusual files in office.tblk
================================================================================
Configuration preferences:
-lastConnectionSucceeded = 1
================================================================================
Wildcard preferences:
================================================================================
Program preferences:
launchAtNextLogin = 1
notOKToCheckThatIPAddressDidNotChangeAfterConnection = 0 askedUserIfOKToCheckThatIPAddressDidNotChangeAfterConnection = 1 tunnelblickVersionHistory = (
"3.5beta08 (build 4236)"
)
lastLaunchTime = 448663670.875487
connectionWindowDisplayCriteria = showWhenConnecting maxLogDisplaySize = 102400 lastConnectedDisplayName = office keyboardShortcutIndex = 1 updateCheckAutomatically = 0 updateSendProfileInfo = 0 NSWindow Frame ConnectingWindow = 765 654 389 187 0 0 1920 1058 leftNavSelectedDisplayName = office
haveDealtWithSparkle1dot5b6 = 1
haveDealtWithOldTunTapPreferences = 1
haveDealtWithOldLoginItem = 1
SUEnableAutomaticChecks = 0
SUScheduledCheckInterval = 86400
SUSendProfileInfo = 0
SULastCheckTime = 2015-03-21 20:47:30 +0000 SUHasLaunchedBefore = 1 WebKitDefaultFontSize = 16 WebKitStandardFont = Times
================================================================================
Tunnelblick Log:
2015-03-21 13:48:43 *Tunnelblick: OS X 10.8.5; Tunnelblick 3.5beta08 (build 4236)
2015-03-21 13:48:44 *Tunnelblick: Attempting connection with office using shadow copy; Set nameserver = 1; monitoring connection
2015-03-21 13:48:44 *Tunnelblick: openvpnstart start office.tblk 1337 1 0 1 0 16688 -ptADGNWradsgnw 2.3.6
2015-03-21 13:48:44 *Tunnelblick: openvpnstart starting OpenVPN
2015-03-21 13:48:45 OpenVPN 2.3.6 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [PKCS11] [MH] [IPv6] built on Mar 19 2015
2015-03-21 13:48:45 library versions: OpenSSL 1.0.1m 19 Mar 2015, LZO 2.08
2015-03-21 13:48:45 MANAGEMENT: TCP Socket listening on [AF_INET]
127.0.0.1:13372015-03-21 13:48:45 Need hold release from management interface, waiting...
2015-03-21 13:48:46 *Tunnelblick: openvpnstart log:
OpenVPN started successfully. Command used to start OpenVPN (one argument per displayed line):
/Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.3.6/openvpn
--daemon
--log
/Library/Application Support/Tunnelblick/Logs/-SUsers-Slaurie-SLibrary-SApplication Support-STunnelblick-SConfigurations-Soffice.tblk-SContents-SResources-Sconfig.ovpn.1_0_1_0_16688.1337.openvpn.log
--cd
/Library/Application Support/Tunnelblick/Users/laurie/office.tblk/Contents/Resources
--config
/Library/Application Support/Tunnelblick/Users/laurie/office.tblk/Contents/Resources/config.ovpn
--cd
/Library/Application Support/Tunnelblick/Users/laurie/office.tblk/Contents/Resources
--management
127.0.0.1
1337
--management-query-passwords
--management-hold
--script-security
2
--up
--down
2015-03-21 13:48:46 *Tunnelblick: Established communication with OpenVPN
2015-03-21 13:48:46 MANAGEMENT: Client connected from [AF_INET]
127.0.0.1:13372015-03-21 13:48:46 MANAGEMENT: CMD 'pid'
2015-03-21 13:48:46 MANAGEMENT: CMD 'state on'
2015-03-21 13:48:46 MANAGEMENT: CMD 'state'
2015-03-21 13:48:46 MANAGEMENT: CMD 'bytecount 1'
2015-03-21 13:48:46 MANAGEMENT: CMD 'hold release'
2015-03-21 13:48:46 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2015-03-21 13:48:46 Control Channel Authentication: using 'ta-cas.key' as a OpenVPN static key file
2015-03-21 13:48:46 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2015-03-21 13:48:46 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2015-03-21 13:48:46 Socket Buffers: R=[196724->65536] S=[9216->65536]
2015-03-21 13:48:46 UDPv4 link local: [undef]
2015-03-21 13:48:46 UDPv4 link remote: [AF_INET]x.x.x.x:1194
2015-03-21 13:48:46 MANAGEMENT: >STATE:1426970926,WAIT,,,
2015-03-21 13:48:46 MANAGEMENT: >STATE:1426970926,AUTH,,,
2015-03-21 13:48:46 TLS: Initial packet from [AF_INET]x.x.x.x:1194, sid=702bbd78 b34b2f7b
2015-03-21 13:48:46 VERIFY OK: depth=1, C=US, ST=WA, L=City, O=office, OU=LEGAL, CN=Office, name=Office-Key, emailAddress=off...@Office.com
2015-03-21 13:48:46 VERIFY OK: depth=0, C=US, ST=WA, L=City, O=office, OU=LEGAL, CN=Office, name=Office-Key, emailAddress=off...@Office.com
2015-03-21 13:48:47 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
2015-03-21 13:48:47 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
2015-03-21 13:48:47 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
2015-03-21 13:48:47 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
2015-03-21 13:48:47 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
2015-03-21 13:48:47 [Office] Peer Connection Initiated with [AF_INET]x.x.x.x:1194
2015-03-21 13:48:49 MANAGEMENT: >STATE:1426970929,GET_CONFIG,,,
2015-03-21 13:48:50 SENT CONTROL [Office]: 'PUSH_REQUEST' (status=1)
2015-03-21 13:48:50 PUSH: Received control message: 'PUSH_REPLY,route 192.168.1.0 255.255.255.0,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.10 10.8.0.9'
2015-03-21 13:48:50 OPTIONS IMPORT: timers and/or timeouts modified
2015-03-21 13:48:50 OPTIONS IMPORT: --ifconfig/up options modified
2015-03-21 13:48:50 OPTIONS IMPORT: route options modified
2015-03-21 13:48:50 Opened utun device utun0
2015-03-21 13:48:50 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
2015-03-21 13:48:50 MANAGEMENT: >STATE:1426970930,ASSIGN_IP,,10.8.0.10,
2015-03-21 13:48:50 /sbin/ifconfig utun0 delete
ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
2015-03-21 13:48:50 NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
2015-03-21 13:48:50 /sbin/ifconfig utun0 10.8.0.10 10.8.0.9 mtu 1500 netmask 255.255.255.255 up
2015-03-21 13:48:50 /Applications/Tunnelblick.app/Contents/Resources/
client.up.tunnelblick.sh -d -f -m -w -ptADGNWradsgnw utun0 1500 1542 10.8.0.10 10.8.0.9 init
**********************************************
No network configuration changes need to be made.
Will NOT monitor for other network configuration changes.
There are no DNS servers in this computer's new network configuration. This computer or a DHCP server that this computer uses may be configured incorrectly.
Flushed the DNS cache via dscacheutil
/usr/sbin/discoveryutil not present. Not flushing the DNS cache via discoveryutil
Notified mDNSResponder that the DNS cache was flushed
**********************************************
2015-03-21 13:48:52 *Tunnelblick: No 'connected.sh' script to execute
2015-03-21 13:48:52 MANAGEMENT: >STATE:1426970932,ADD_ROUTES,,,
2015-03-21 13:48:52 /sbin/route add -net 192.168.1.0 10.8.0.9 255.255.255.0
route: writing to routing socket: File exists
2015-03-21 13:48:52 /sbin/route add -net 10.8.0.1 10.8.0.9 255.255.255.255
2015-03-21 13:48:52 Initialization Sequence Completed
2015-03-21 13:48:52 MANAGEMENT: >STATE:1426970932,CONNECTED,SUCCESS,10.8.0.10,x.x.x.x
2015-03-21 13:48:58 *Tunnelblick: This computer's apparent public IP address (y.y.y.y) was unchanged after the connection was made