QuiescentWonder;6 wroteYou should state that this configuration is specifically for Linux.
I would have, except it is not. In fact I do not even use linux...
The server config runs on freebsd, and the client is being used with osX and freebsd. However, all you need to change for it to work on windows is the paths to the config files, and remove user/group. Possibly a 'route-method exe' to work around windows lameness...
But yes, it works on linux too ;]
Here is each config changed for windows just in case anyone else is confused:
1) all files referenced below belong in C:\Program Files\Openvpn\config\ including the configs, which should end with the extension .ovpn
2) You can and should still lower privileges when using openvpn on windows. Above we did that with user/group... for windows please see:
http://openvpn.se/files/howto/openvpn-howto_run_openvpn_as_nonadmin.html
server config:
local <server ip>
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh4096.pem
ifconfig-pool-persist ipp.txt
client-config-dir ccd
server 10.8.1.0 255.255.255.0
keepalive 10 120
client-to-client
comp-lzo
persist-key
persist-tun
tls-auth ta.key 0
status openvpn-status.log
verb 4
client config:
client
dev tun
proto udp
remote <server ip> 1194
resolv-retry infinite
nobind
persist-key
persist-tun
pull
ns-cert-type server
tls-auth ta.key 1
ca ca.crt
cert joogot.crt
key joogot.key
comp-lzo
verb 4