Page 1 of 1

Connection trouble.

Posted: Mon Aug 05, 2013 7:59 am
by kir
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

Re: Connection trouble.

Posted: Mon Aug 05, 2013 8:37 am
by kir
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

Re: Connection trouble.

Posted: Mon Aug 05, 2013 8:40 am
by maikcat
try starting openvpn via cmd

openvpn --config client.ovpn

and see the output...


Michael.