Connection trouble.

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
kir
OpenVpn Newbie
Posts: 2
Joined: Mon Aug 05, 2013 7:46 am

Connection trouble.

Post by kir » Mon Aug 05, 2013 7:59 am

guys! I need your help!

OS: windows server 2008r2
Client: openvpn-install-2.3.1-I001-x86_64 (installed correctly)

This config (client.ovpn):

Code: Select all

client
dev tap
proto tcp
remote *.*.*.*
port *
resolv-retry infinite
ca keys\ca.crt
cert keys\*.crt
key keys\*.key
tls-client
tls-auth keys\ta.key 1
auth MD5
cipher BF-CBC
ns-cert-type server
comp-lzo
persist-key
persist-tun
verb 3
mute 20
and it's working great on linux.

but when I using it on windows I'm getting "cannot connect to client" without any messages in progressbar. And without any errors in log file.

p.s.: sorry for my bad english.

Image

kir
OpenVpn Newbie
Posts: 2
Joined: Mon Aug 05, 2013 7:46 am

Re: Connection trouble.

Post by kir » Mon Aug 05, 2013 8:37 am

maikcat wrote:try starting openvpn via cmd

openvpn --config client.ovpn

and see the output...


Michael.

thanks!
I solved the problem.

It must to be like this - with quotes:

Code: Select all

ca "keys\ca.crt"
cert "keys\*.crt"
key "keys\*.key"
tls-auth "keys\ta.key" 1

p.s.: it's a bug? :) Maikcat - Posted: Mon Aug 05, 2013 8:40 am, kir - Posted: Mon Aug 05, 2013 8:37 am

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

Re: Connection trouble.

Post by maikcat » Mon Aug 05, 2013 8:40 am

try starting openvpn via cmd

openvpn --config client.ovpn

and see the output...


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