I have a problem connecting to the vpn. I downloaded the config file from
www.vpnbook.com
I used the following command:
Code:
root@crunchbang:/etc/openvpn# openvpn --config vpn_book/vpnbook-ca1-udp25000.ovpn
Fri Mar 20 14:07:11 2015 OpenVPN 2.2.1 i486-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Dec 1 2014
Enter Auth Username:vpnbook
Enter Auth Password:
Fri Mar 20 14:08:22 2015 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Fri Mar 20 14:08:22 2015 LZO compression initialized
Fri Mar 20 14:08:22 2015 Control Channel MTU parms [ L:1558 D:138 EF:38 EB:0 ET:0 EL:0 ]
Fri Mar 20 14:08:22 2015 Socket Buffers: R=[163840->131072] S=[163840->131072]
Fri Mar 20 14:08:22 2015 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:135 ET:0 EL:0 AF:3/1 ]
Fri Mar 20 14:08:22 2015 Local Options hash (VER=V4): '66096c33'
Fri Mar 20 14:08:22 2015 Expected Remote Options hash (VER=V4): '691e95c7'
Fri Mar 20 14:08:22 2015 NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Fri Mar 20 14:08:22 2015 UDPv4 link local: [undef]
Fri Mar 20 14:08:22 2015 UDPv4 link remote: [AF_INET]142.4.206.228:25000
Fri Mar 20 14:08:22 2015 TLS: Initial packet from [AF_INET]142.4.206.228:25000, sid=e5970126 7cd42edc
Fri Mar 20 14:08:22 2015 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Fri Mar 20 14:08:22 2015 VERIFY OK: depth=1, /C=CH/ST=Zurich/L=Zurich/O=vpnbook.com/OU=IT/CN=vpnbook.com/name=vpnbook.com/emailAddress=admin@vpnbook.com
Fri Mar 20 14:08:22 2015 VERIFY OK: nsCertType=SERVER
Fri Mar 20 14:08:22 2015 VERIFY OK: depth=0, /C=CH/ST=Zurich/L=Zurich/O=vpnbook.com/OU=IT/CN=vpnbook.com/name=vpnbook.com/emailAddress=admin@vpnbook.com
Fri Mar 20 14:08:25 2015 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Fri Mar 20 14:08:25 2015 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Mar 20 14:08:25 2015 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Fri Mar 20 14:08:25 2015 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Mar 20 14:08:25 2015 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Fri Mar 20 14:08:25 2015 [vpnbook.com] Peer Connection Initiated with [AF_INET]142.4.206.228:25000
Fri Mar 20 14:08:27 2015 SENT CONTROL [vpnbook.com]: 'PUSH_REQUEST' (status=1)
Fri Mar 20 14:08:27 2015 AUTH: Received AUTH_FAILED control message
Fri Mar 20 14:08:27 2015 TCP/UDP: Closing socket
Fri Mar 20 14:08:27 2015 SIGTERM[soft,auth-failure] received, process exiting
I then made a tunnel for it
Code:
root@crunchbang:/etc/openvpn# openvpn --mktun --dev tun
Fri Mar 20 15:50:28 2015 TUN/TAP device tun2 opened
Fri Mar 20 15:50:28 2015 Persist state set to: ON
but didn't help
I commented the line in the config file:
auth-user-pass
to see if I could get it to work.
After that I tried it with the above command, and openvpn kept restarting:
Quote:
Fri Mar 20 16:15:39 2015 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Fri Mar 20 16:15:39 2015 TLS Error: TLS handshake failed
Fri Mar 20 16:15:39 2015 TCP/UDP: Closing socket
Fri Mar 20 16:15:39 2015 SIGUSR1[soft,tls-error] received, process restarting
|
I also tried a config from
https://www.vpnme.me/freevpn.html and had problems.
Thanks for help