Page 1 of 1

backslash problem VPN fail windows xp client

Posted: Fri Dec 10, 2010 3:18 am
by pinguim007
hello I am receiveing this message when I try to connect my vpn, can some body help me?

Options warning: Bad backslash ('\') usage in client.ovpn:1: remember that backslashes are treated as shell-escapes and if you need to pass backslash characters as part of a Windows filename, you should use double backslashes such as "c:\\openvpn\\static.key"
Use --help for more information

my ovpn configuration is...
client
dev tun
proto udp
remote 200.1.1.2 2222
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert Guilherme.crt
key Guilherme.key
comp-lzo
verb 3

and my server configuration is...

port 2222
proto udp
dev tun
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/server.crt
key /etc/openvpn/easy-rsa/2.0/keys/server.key
dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
server 192.168.500.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.10.0 255.255.255.0"
keepalive 10 120
client-to-client
comp-lzo
max-clients 1
user nobody
persist-key
persist-tun
status /var/log/openvpn-status.log
log /var/log/openvpn.log
log-append /var/log/openvpn.log
verb 6
script-security 2

Re: backslash problem VPN fail windows xp client

Posted: Mon Jan 10, 2011 8:40 pm
by krzee
hrm, i dont see any backslashes in your client config
post the entire log please

Re: backslash problem VPN fail windows xp client

Posted: Thu Jan 27, 2011 9:07 pm
by pinguim007
helo,

there is no blackslash on my ovpn, the ovpn and the keys and certs are on c:\program files\openvpn\config, thats why i didn“t wrote the path.

I am not with the log here but gives me a blaskslash usage error and suggests to use "c:\\openvpn\\secret.key"