republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Up and Running » Virtual Private Networking » openvpn vista 64 backslash issue
Uniqs:
1147
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
« Which VPN Server?  

mikeo1313

@comcast.net

openvpn vista 64 backslash issue

1. My error msg:

"Options warning: Bad backslash ('\') usage in server.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."

note: I've tried a number of combinations with how to reference the key files including replacing the \\ with \ or / , besides uncommenting the # where there is no use of referencing a folder, just to see. Config files I've seen that were posted to work for someone referenced files similarly as my config file. I even also tried commentiing out lines that reference log files with ;, jik, and still I get the same error stated in quotes above.

2. here is my server config

port 4030
proto udp

dev tap0
dev-node tap-bridge

#ca ca.crt
#cert server.crt
#key server.key
#dh dh1024.pem
ca "C:\\Program Files (x86)\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files (x86)\\OpenVPN\\easy-rsa\\keys\\server.crt"
key "C:\\Program Files (x86)\\OpenVPN\\easy-rsa\\keys\\server.key"
dh "C:\\Program Files (x86)\\OpenVPN\\easy-rsa\\keys\\dh1024.pem"

ifconfig-pool-persist ipp.txt
server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100
server-bridge
client-to-client

;duplicate-cn
keepalive 10 120

;tls-auth "C:\\Program Files (x86)\\OpenVPN\\easy-rsa\\keys\\ta.key 0"

cipher AES-128-CBC
comp-lzo
max-clients 100

persist-key
persist-tun

status openvpn-status.log
;log openvpn.log
verb 3
mute 20

;crl-verify crl.pem

3. My procedure & what I did.

-When I installed the v2.1 rc16, I right clicked & ran as adimistrator, jik.

in command prompt I ran

-init-config...

-edited vars.bat default parameters as mentioned in the how to + changed

%programfiles% to %programfiles(x86)%

**vista x64 doesn't install openvpn in its regular program files folder... instead its \program files (x86)\ ,,, the (x86) evironment variable does point to it.

-excecuted vars, clean-all, build-ca, build-key-server server, build-key client1, build-dh & openvpn --genkey --secret ta.key
{ for keys I defaulted all values except common name & committed twice /w y where needed}

-I renamed the tap-win32 adapter v9 to "tap-bridge"

{My main ethernet which I bridged to tap-bridge gets its ip automatically from my d-link router's dhcp. That d-link dhcp is set to give 192.168.0.103 & is associated with its mac. I made sure the newly created bridge had both tap-bridge & local area connection checked in properties.

once bridged. I couldn't ping 192.168.0.103 and ipcondig would show my ip address got assigned to something else in the d-link's dhcp range, within 1 minute vista recognized the change and would be able to access the internet again.}

-I forwarded my udp port.

SoonerAl
Old Enough To Know Better
Premium,MVM
join:2002-07-23
Norman, OK

Re: openvpn vista 64 backslash issue

When I last used OpenVPN, quite a long time ago now, I put the client key, ca.crt and ta.key files in the C:\program files\openvpn\config folder on my client so I did not need to use the escape characters. My example client config file then looked like this.

quote:
#
# Customized for SoHo remote access
# Last reviewed - 12 August 2006...awj
#

client

dev tap

proto udp

# The hostname/IP and port of the server.
# Modify for your use.

remote myopenvpn.server.com 1194

resolv-retry infinite

nobind

persist-key
persist-tun

ca ca.crt

# Specific user cert and key file.
# Modify for your use.

cert Vpnuser1.crt
key Vpnuser1.key

tls-auth ta.key 1

cipher AES-256-CBC

comp-lzo

verb 3

I put the ca.crt, dh1024.pem or dh2048.pem, server.crt and server.key files in the
C:\program files\openvpn\config folder on the server PC. Here is my example server config file.

quote:
#
# Customized for SoHo remote access
# Last reviewed - 12 August 2006...awj
#

proto udp

dev tap

dev-node OpenVPN

ca ca.crt
cert server.crt
key server.key # This file should be kept secret

dh dh2048.pem

ifconfig-pool-persist ipp.txt

# Specific to my home LAN...
# »theillustratednetwork.mvps.org/L···kLAN.htm

server-bridge 10.8.0.11 255.255.255.0 10.8.0.31 10.8.0.33

# This tunnels ALL network traffic between server and
# client when the client is connected. See the How-To
# for details - »openvpn.net/howto.html#redirect

push "redirect-gateway def1"
push "dhcp-option DNS 10.8.0.1"

keepalive 10 120

comp-lzo

tls-auth ta.key 0

cipher AES-256-CBC

max-clients 3

persist-key
persist-tun

status openvpn-status.log

verb 3

These are the bridging instructions that I followed.

»www.pavelec.net/adam/openvpn/bridge

FWIW, here is my small OpenVPN How-To that you may be interested in.

»theillustratednetwork.mvps.org/O···tion.pdf
--
"When all else fails, read the instructions..."
MS-MVP Windows – Desktop User Experience

mikeo1313

@comcast.net
Thanks for the response but it didn't work. I tried this before & after your post.
Forums » Up and Running » Virtual Private Networking« Which VPN Server?  


Saturday, 28-Nov 03:17:54 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [121] Time Warner Cable Fires Broadside At Broadcasters
· [112] New AT&T Ad Campaign Hits Back At Verizon
· [96] Apple Joins AT&T Verizon Snark Fest
· [87] New Bill Takes Aim At Higher Verizon ETFs
· [71] TiVo Sees Record Customer Losses
· [69] In-Flight Internet Headed For Bumpy Landing?
· [66] Verizon CEO: Hulu Will Be Dead Soon
· [62] Thanksgiving Open Thread
· [50] Weekend Open Thread
· [40] EFF Wages War On Fine Print
Most people now reading
· [ PVP] 3.2 DK PvP D/W Spec... [World of Warcraft]
· Windows 7 boot manager editing questions [Microsoft Help]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· DIR-655 New Beta 1.32b09 [D-Link]
· Backstab vs screws (not which to use) [Home Repair & Improvement]
· [Wireless] Linksys WMP54g v4.1 and Windows 7 x64 [Linksys]
· Using AirMax to provide triple play services? [Wireless Service Providers]
· [Newsgroups] Newzleech down? [Filesharing Software]
· TV tuner Cards & FIOS TV?? [Verizon FIOS TV]
· HOW-TO: QoS and Tomato (fixes "choppy voice") [MagicJack]