cant connect to openvpn

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

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

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
taneeksra
OpenVpn Newbie
Posts: 2
Joined: Thu Jun 09, 2011 11:26 pm

cant connect to openvpn

Post by taneeksra » Thu Jun 09, 2011 11:27 pm

Thu Jun 09 19:26:01 2011 OpenVPN 2.2-beta5 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Nov 30 2010
Thu Jun 09 19:26:01 2011 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu Jun 09 19:26:01 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Jun 09 19:26:01 2011 Cannot load certificate file C:\Program Files\OpenVPN\config\Romania.crt: error:0906D06C:PEM routines:PEM_read_bio:no start line: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
Thu Jun 09 19:26:01 2011 Exiting



i;ve tried so many things, im first time vpn user so im not sure what to do, i tried reading the howto but couldnt find solution..

all the provider told me to do in readme was extract files to the config folder.. but i keep getting this msg

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: cant connect to openvpn

Post by janjust » Fri Jun 10, 2011 8:18 am

first of all, please upgrade to the official openvpn 2.2.0 release.
Second, which client OS are you using? if it's windows vista/7 (32bit or 64bit) then the files may have ended up in the wrong location (this is a Windows "feature", not something OpenVPN did)

Finally, what happens if you brosse to
c:\program files\openvpn\config
and open the romania.crt file using a text editor (e.g. notepad). Does the file look something like

<lots of text>
-----BEGIN CERTIFICATE-----
....
-----END CERTIFICATE-----

(the BEGIN+END parts are the significant parts)

taneeksra
OpenVpn Newbie
Posts: 2
Joined: Thu Jun 09, 2011 11:26 pm

Re: cant connect to openvpn

Post by taneeksra » Sat Jun 11, 2011 1:28 am

ok i found the problem, files were no good, so i redownloaded for a different server . now this is what happens

Fri Jun 10 22:13:48 2011 Attempting to establish TCP connection with 196.46.189.38:1195
Fri Jun 10 22:14:09 2011 TCP: connect to 196.46.189.38:1195 failed, will try again in 5 seconds: Connection timed out (WSAETIMEDOUT)
Fri Jun 10 22:14:09 2011 SIGUSR1[soft,init_instance] received, process restarting

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: cant connect to openvpn

Post by janjust » Sat Jun 11, 2011 9:10 pm

that's a network connectivity or firewall issue - is openvpn really running on that port on that IP? is there a firewall on the server blocking access?

Post Reply