[Solved]Initialization Sequence Completed but no access
Posted: Wed Jan 28, 2015 1:20 pm
Hello, I need help please, I will be grateful if you are patient enough to understand I'm a newbie here and I'm not english as well...
I installed OpenVPN by Homebrew, I'm running on Mac OsX Mavericks with latest updates.
I subscribed to a VPN server, I got my config file "*.ovpn", my key file "ta.key" and my ca file "ca.crt".
I would like to use OpenVPN through the terminal with commands line, but I've got Tunnelblick already installed that work perfectly.
I would like to be sure OpenVPN is working well by the terminal before uninstall Tunnelblick.
Tun/Tap Extensions are installed as well.
Here is my config file (.ovpn):
-------------------------
client
remote nl5.vpnfacile.net 443
dev tun
proto tcp
nobind
persist-key
persist-tun
tls-auth ta.key 1
ca ca.crt
cipher AES-256-CBC
keysize 256
link-mtu 1560
comp-lzo
auth-user-pass
verb 3
------------------------
So, When I want to start OpenVPN, I'm running this:
------------------------
sudo kextload tun.kext
sudo openvpn myconfigfile.ovpn
------------------------
Then I'm getting this:
------------------------
Wed Jan 28 11:20:58 2015 OpenVPN 2.3.6 x86_64-apple-darwin13.4.0 [SSL (OpenSSL)] [LZO] [MH] [IPv6] built on Dec 2 2014
Wed Jan 28 11:20:58 2015 library versions: OpenSSL 1.0.2 22 Jan 2015, LZO 2.08
Enter Auth Username:********
Enter Auth Password:
Wed Jan 28 11:21:13 2015 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Jan 28 11:21:13 2015 WARNING: file 'ta.key' is group or others accessible
Wed Jan 28 11:21:13 2015 Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
Wed Jan 28 11:21:13 2015 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jan 28 11:21:13 2015 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jan 28 11:21:13 2015 Socket Buffers: R=[131072->65536] S=[131072->65536]
Wed Jan 28 11:21:13 2015 Attempting to establish TCP connection with [AF_INET]185.56.161.130:443 [nonblock]
Wed Jan 28 11:21:14 2015 TCP connection established with [AF_INET]185.56.161.130:443
Wed Jan 28 11:21:14 2015 TCPv4_CLIENT link local: [undef]
Wed Jan 28 11:21:14 2015 TCPv4_CLIENT link remote: [AF_INET]185.56.161.130:443
Wed Jan 28 11:21:14 2015 TLS: Initial packet from [AF_INET]185.56.161.130:443, sid=72995fae 9a2e7f7a
Wed Jan 28 11:21:14 2015 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Wed Jan 28 11:21:15 2015 VERIFY OK: depth=1, C=NL, ST=NL, L=Amsterdam, O=VPNFacile, CN=VPNFacile CA, emailAddress=*********
Wed Jan 28 11:21:15 2015 VERIFY OK: depth=0, C=NL, ST=NL, L=Amsterdam, O=VPNFacile, CN=server, emailAddress=tech@vpnfacile.net
Wed Jan 28 11:21:15 2015 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Wed Jan 28 11:21:15 2015 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jan 28 11:21:15 2015 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Wed Jan 28 11:21:15 2015 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jan 28 11:21:15 2015 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Wed Jan 28 11:21:15 2015 [server] Peer Connection Initiated with [AF_INET]185.56.161.130:443
Wed Jan 28 11:21:18 2015 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Wed Jan 28 11:21:18 2015 PUSH: Received control message: 'PUSH_REPLY,dhcp-option WINS 10.14.0.1,redirect-gateway def1,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.14.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.14.0.186 10.14.0.185'
Wed Jan 28 11:21:18 2015 OPTIONS IMPORT: timers and/or timeouts modified
Wed Jan 28 11:21:18 2015 OPTIONS IMPORT: --ifconfig/up options modified
Wed Jan 28 11:21:18 2015 OPTIONS IMPORT: route options modified
Wed Jan 28 11:21:18 2015 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Wed Jan 28 11:21:18 2015 Opening utun (connect(AF_SYS_CONTROL)): Resource busy
Wed Jan 28 11:21:18 2015 Opened utun device utun1
Wed Jan 28 11:21:18 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Wed Jan 28 11:21:18 2015 /sbin/ifconfig utun1 delete
ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
Wed Jan 28 11:21:18 2015 NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
Wed Jan 28 11:21:18 2015 /sbin/ifconfig utun1 10.14.0.186 10.14.0.185 mtu 1500 netmask 255.255.255.255 up
Wed Jan 28 11:21:18 2015 /sbin/route add -net 185.56.161.130 192.168.0.254 255.255.255.255
add net 185.56.161.130: gateway 192.168.0.254
Wed Jan 28 11:21:18 2015 /sbin/route add -net 0.0.0.0 10.14.0.185 128.0.0.0
add net 0.0.0.0: gateway 10.14.0.185
Wed Jan 28 11:21:18 2015 /sbin/route add -net 128.0.0.0 10.14.0.185 128.0.0.0
add net 128.0.0.0: gateway 10.14.0.185
Wed Jan 28 11:21:18 2015 /sbin/route add -net 10.14.0.1 10.14.0.185 255.255.255.255
add net 10.14.0.1: gateway 10.14.0.185
Wed Jan 28 11:21:18 2015 Initialization Sequence Completed
--------------------------
It seems connected, but in safari for example It looks like It's offline...
I tried to disable my firewall to have look but nothing changes.
I also had a look on Tunnelblick and both logs seem similar.
I don't have any idea about what I'm done wrong, so if someone could give me a hand that will be really appreciated...
Thanks.
I installed OpenVPN by Homebrew, I'm running on Mac OsX Mavericks with latest updates.
I subscribed to a VPN server, I got my config file "*.ovpn", my key file "ta.key" and my ca file "ca.crt".
I would like to use OpenVPN through the terminal with commands line, but I've got Tunnelblick already installed that work perfectly.
I would like to be sure OpenVPN is working well by the terminal before uninstall Tunnelblick.
Tun/Tap Extensions are installed as well.
Here is my config file (.ovpn):
-------------------------
client
remote nl5.vpnfacile.net 443
dev tun
proto tcp
nobind
persist-key
persist-tun
tls-auth ta.key 1
ca ca.crt
cipher AES-256-CBC
keysize 256
link-mtu 1560
comp-lzo
auth-user-pass
verb 3
------------------------
So, When I want to start OpenVPN, I'm running this:
------------------------
sudo kextload tun.kext
sudo openvpn myconfigfile.ovpn
------------------------
Then I'm getting this:
------------------------
Wed Jan 28 11:20:58 2015 OpenVPN 2.3.6 x86_64-apple-darwin13.4.0 [SSL (OpenSSL)] [LZO] [MH] [IPv6] built on Dec 2 2014
Wed Jan 28 11:20:58 2015 library versions: OpenSSL 1.0.2 22 Jan 2015, LZO 2.08
Enter Auth Username:********
Enter Auth Password:
Wed Jan 28 11:21:13 2015 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Jan 28 11:21:13 2015 WARNING: file 'ta.key' is group or others accessible
Wed Jan 28 11:21:13 2015 Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
Wed Jan 28 11:21:13 2015 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jan 28 11:21:13 2015 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jan 28 11:21:13 2015 Socket Buffers: R=[131072->65536] S=[131072->65536]
Wed Jan 28 11:21:13 2015 Attempting to establish TCP connection with [AF_INET]185.56.161.130:443 [nonblock]
Wed Jan 28 11:21:14 2015 TCP connection established with [AF_INET]185.56.161.130:443
Wed Jan 28 11:21:14 2015 TCPv4_CLIENT link local: [undef]
Wed Jan 28 11:21:14 2015 TCPv4_CLIENT link remote: [AF_INET]185.56.161.130:443
Wed Jan 28 11:21:14 2015 TLS: Initial packet from [AF_INET]185.56.161.130:443, sid=72995fae 9a2e7f7a
Wed Jan 28 11:21:14 2015 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Wed Jan 28 11:21:15 2015 VERIFY OK: depth=1, C=NL, ST=NL, L=Amsterdam, O=VPNFacile, CN=VPNFacile CA, emailAddress=*********
Wed Jan 28 11:21:15 2015 VERIFY OK: depth=0, C=NL, ST=NL, L=Amsterdam, O=VPNFacile, CN=server, emailAddress=tech@vpnfacile.net
Wed Jan 28 11:21:15 2015 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Wed Jan 28 11:21:15 2015 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jan 28 11:21:15 2015 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Wed Jan 28 11:21:15 2015 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Jan 28 11:21:15 2015 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Wed Jan 28 11:21:15 2015 [server] Peer Connection Initiated with [AF_INET]185.56.161.130:443
Wed Jan 28 11:21:18 2015 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Wed Jan 28 11:21:18 2015 PUSH: Received control message: 'PUSH_REPLY,dhcp-option WINS 10.14.0.1,redirect-gateway def1,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.14.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.14.0.186 10.14.0.185'
Wed Jan 28 11:21:18 2015 OPTIONS IMPORT: timers and/or timeouts modified
Wed Jan 28 11:21:18 2015 OPTIONS IMPORT: --ifconfig/up options modified
Wed Jan 28 11:21:18 2015 OPTIONS IMPORT: route options modified
Wed Jan 28 11:21:18 2015 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Wed Jan 28 11:21:18 2015 Opening utun (connect(AF_SYS_CONTROL)): Resource busy
Wed Jan 28 11:21:18 2015 Opened utun device utun1
Wed Jan 28 11:21:18 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Wed Jan 28 11:21:18 2015 /sbin/ifconfig utun1 delete
ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
Wed Jan 28 11:21:18 2015 NOTE: Tried to delete pre-existing tun/tap instance -- No Problem if failure
Wed Jan 28 11:21:18 2015 /sbin/ifconfig utun1 10.14.0.186 10.14.0.185 mtu 1500 netmask 255.255.255.255 up
Wed Jan 28 11:21:18 2015 /sbin/route add -net 185.56.161.130 192.168.0.254 255.255.255.255
add net 185.56.161.130: gateway 192.168.0.254
Wed Jan 28 11:21:18 2015 /sbin/route add -net 0.0.0.0 10.14.0.185 128.0.0.0
add net 0.0.0.0: gateway 10.14.0.185
Wed Jan 28 11:21:18 2015 /sbin/route add -net 128.0.0.0 10.14.0.185 128.0.0.0
add net 128.0.0.0: gateway 10.14.0.185
Wed Jan 28 11:21:18 2015 /sbin/route add -net 10.14.0.1 10.14.0.185 255.255.255.255
add net 10.14.0.1: gateway 10.14.0.185
Wed Jan 28 11:21:18 2015 Initialization Sequence Completed
--------------------------
It seems connected, but in safari for example It looks like It's offline...
I tried to disable my firewall to have look but nothing changes.
I also had a look on Tunnelblick and both logs seem similar.
I don't have any idea about what I'm done wrong, so if someone could give me a hand that will be really appreciated...
Thanks.