backslash problem VPN fail windows xp client

This forum is for admins who are looking to build or expand their OpenVPN setup.

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
pinguim007
OpenVPN User
Posts: 48
Joined: Sun Oct 03, 2010 4:55 pm

backslash problem VPN fail windows xp client

Post by pinguim007 » Fri Dec 10, 2010 3:18 am

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

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: backslash problem VPN fail windows xp client

Post by krzee » Mon Jan 10, 2011 8:40 pm

hrm, i dont see any backslashes in your client config
post the entire log please

pinguim007
OpenVPN User
Posts: 48
Joined: Sun Oct 03, 2010 4:55 pm

Re: backslash problem VPN fail windows xp client

Post by pinguim007 » Thu Jan 27, 2011 9:07 pm

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"

Post Reply