Page 1 of 1

Help ! newbie problem!!

Posted: Tue Dec 13, 2011 10:54 am
by Godspe3d
~I've been trying to connect to a us server in open vpn but it always crashes.

~I've just uninstalled /reinstalled openvpn (it is the latest version) and it always keeps on failing.

~This is the log before the openvpn crashes:
Tue Dec 13 18:48:15 2011 OpenVPN 2.1_rc19 i686-pc-mingw32 [SSL] [LZO2] built on Oct 5 2011
Tue Dec 13 18:48:15 2011 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue Dec 13 18:48:15 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Dec 13 18:48:15 2011 UDPv4 link local (bound): [undef]:53
Tue Dec 13 18:48:15 2011 UDPv4 link remote: 0.0.0.0:0
Tue Dec 13 18:48:16 2011 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Tue Dec 13 18:48:17 2011 TLS Error: Unroutable control packet received from 0.0.0.0:0 (si=3 op=P_CONTROL_V1)
Tue Dec 13 18:48:18 2011 [www.zgniqbdwceglxm.net] Peer Connection Initiated with 0.0.0.0:0
Tue Dec 13 18:48:19 2011 TAP-WIN32 device [{5915B84C-BB91-45BB-B6EC-E12E13F913F4}] opened: \\.\Global\{5915B84C-BB91-45BB-B6EC-E12E13F913F4}.tap
Tue Dec 13 18:48:19 2011 NOTE: could not get adapter index for {5915B84C-BB91-45BB-B6EC-E12E13F913F4}


~Then after the last line, the openvpn.exe has encountered a problem and needs to close. We are sorry for the inconvenience dialogue box appears.

~Can anyone point me what is the problem?

~This is the log of the server that i'm trying to connect

tls-client
client
dev tun
route-method exe
route-delay 2
redirect-gateway
pull
persist-key
mssfix 1400
verb 1
auth-user-pass
ca data/HSSEXP/ca.crt
reneg-sec 0
inactive 1200 50000
hand-window 120
persist-local-ip
persist-remote-ip
auth-retry nointeract
float
mute-replay-warnings
lport 53

~Waiting for your kind and asap reply.

~~Godspe3d

Re: Help ! newbie problem!!

Posted: Tue Dec 13, 2011 4:11 pm
by leeph
You need to specify a remote server in your config file.

e.g

remote <serverip> <port>

James / leeph

Re: Help ! newbie problem!!

Posted: Wed Dec 14, 2011 9:47 am
by Godspe3d
~I tried what you said to me, but the error keeps on repeating itself.

~The problem is not solved.

~This is the config:
tls-client
client
dev tun
route-method exe
route-delay 2
redirect-gateway
pull
persist-key
mssfix 1400
verb 1
auth-user-pass
ca data/HSSEXP/ca.crt
reneg-sec 0
inactive 1200 50000
hand-window 120
persist-local-ip
persist-remote-ip
auth-retry nointeract
float
remote 68.68.108.222 123
mute-replay-warnings
lport 53
rport 137


~Thanks anyway

~~Godspe3d

Re: Help ! newbie problem!!

Posted: Wed Dec 14, 2011 11:35 am
by leeph
Why are you setting lport and rport?

In particular, the rport you have defined is different from the port you specified in the
'remote' line. Why? That's just confusing the issue. They need to be the same (better, just
remove the rport line completely).

Also, you've not selected a protocol to use - TCP or UDP? What is the server configured
to use?

proto udp
or...
proto tcp

Are you sure that you have a valid OpenVPN daemon running on the remote side? Are
you sure that the port is unfirewalled and connectable?

James / leeph

Re: Help ! newbie problem!!

Posted: Wed Dec 14, 2011 11:54 am
by maikcat
>NOTE: could not get adapter index for {5915B84C-BB91-45BB-B6EC-E12E13F913F4}

is the tap adapter properly installed?

why are you using 2.1rc19 ver?
use the latest 2.1.4 or 2.2

what windows you have?

Michael.