Help ! newbie problem!!

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Godspe3d
OpenVpn Newbie
Posts: 12
Joined: Sun Nov 20, 2011 9:20 am

Help ! newbie problem!!

Post by Godspe3d » Tue Dec 13, 2011 10:54 am

~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

leeph
OpenVpn Newbie
Posts: 5
Joined: Tue Dec 13, 2011 3:12 pm

Re: Help ! newbie problem!!

Post by leeph » Tue Dec 13, 2011 4:11 pm

You need to specify a remote server in your config file.

e.g

remote <serverip> <port>

James / leeph

Godspe3d
OpenVpn Newbie
Posts: 12
Joined: Sun Nov 20, 2011 9:20 am

Re: Help ! newbie problem!!

Post by Godspe3d » Wed Dec 14, 2011 9:47 am

~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

leeph
OpenVpn Newbie
Posts: 5
Joined: Tue Dec 13, 2011 3:12 pm

Re: Help ! newbie problem!!

Post by leeph » Wed Dec 14, 2011 11:35 am

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

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Help ! newbie problem!!

Post by maikcat » Wed Dec 14, 2011 11:54 am

>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.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Post Reply