Page 1 of 1

No VPN connection possible

Posted: Tue Mar 17, 2009 2:26 pm
by romeooo
Hi,

I have a Problem with VPN, I'm german and I'm new to linux. Best conditions :)

But, I'll give it a try.

I want to use the pre installed Amahi VPN Server.
On my local Machine (In the same Network as the HDA, I hope that's not the Problem) is running Tunnelblick. I configured the the openvpn.conf and downloaded the certificates. But it still doesn't work. I have no idea where the problem is. If I try to connect with tunnelblick the programm kills itself after a few trys.


My log:


Tue 03/17/09 10:21 PM: IMPORTANT: OpenVPN's default port number is now 1194
Tue 03/17/09 10:21 PM: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue 03/17/09 10:21 PM: WARNING: file 'AmahiHDAClient.key' is group or others accessible
Tue 03/17/09 10:21 PM: LZO compression initialized
Tue 03/17/09 10:21 PM: Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue 03/17/09 10:21 PM: Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue 03/17/09 10:21 PM: Local Options hash (VER=V4): '41690919'
Tue 03/17/09 10:21 PM: Expected Remote Options hash (VER=V4): '530fdded'
Tue 03/17/09 10:21 PM: UDPv4 link local: [undef]
Tue 03/17/09 10:21 PM: UDPv4 link remote: xx.xx.xx.xx:1194
Tue 03/17/09 10:21 PM: TLS: Initial packet from xx.xx.xx.xx:1194
Tue 03/17/09 10:22 PM: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Tue 03/17/09 10:22 PM: TLS Error: TLS handshake failed
Tue 03/17/09 10:22 PM: TCP/UDP: Closing socket
Tue 03/17/09 10:22 PM: SIGUSR1[soft
Tue 03/17/09 10:22 PM: IMPORTANT: OpenVPN's default port number is now 1194
Tue 03/17/09 10:22 PM: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue 03/17/09 10:22 PM: Re-using SSL/TLS context
Tue 03/17/09 10:22 PM: LZO compression initialized
Tue 03/17/09 10:22 PM: Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Tue 03/17/09 10:22 PM: Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Tue 03/17/09 10:22 PM: Local Options hash (VER=V4): '41690919'
Tue 03/17/09 10:22 PM: Expected Remote Options hash (VER=V4): '530fdded'
Tue 03/17/09 10:22 PM: UDPv4 link local: [undef]
Tue 03/17/09 10:22 PM: UDPv4 link remote: xx.xx.xx.xx:1194


My config file:

remote xxxxxxxxx.yourhda.com 1194
client
dev tun
proto udp
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca-cert.crt
cert AmahiHDAClient.crt
key AmahiHDAClient.key
comp-lzo
verb 3
auth-user-pass


Who can help me? :(

Re: No VPN connection possible

Posted: Tue Mar 17, 2009 3:01 pm
by cpg
i think you came by the irc and we helped out. is it working?

Re: No VPN connection possible

Posted: Wed Mar 18, 2009 12:28 am
by romeooo
yes, I came by IRC, but the problem is still there.

Re: No VPN connection possible

Posted: Thu Mar 19, 2009 4:32 am
by cpg
i was able to VPN into your box (except authentication failed, of course). did you try it form outside? is it working?