Home arrow Downloads arrow Linux Scripts arrow IPCOP: OpenVPN client as an NT Service
IPCOP: OpenVPN client as an NT Service PDF Print E-mail
Written by DjTremors   
Sunday, 04 March 2007
1. Extract the keys/certs from the ipcop supplied p12 file. You can do this from openvpn directory (c:\Program Files\OpenVPN\bin) or linux and copy the files to your windows machine.
Shell:
openssl pkcs12 -clcerts -nokeys -in mycertfile-to-ipcop.p12 -out mycert.crt
openssl pkcs12 -nocerts -nodes -in mycertfile-to-ipcop.p12 -out mycert.key


2. Copy your remote ipcop servers ca file to your local machine.
Found at /var/ipcop/ovpn/ca/cacert.pem

3. Change your windows workstations ipcop conf file to something like this :
File:
#OpenVPN Client conf
tls-client
client
dev tun
proto udp
tun-mtu 1500
remote ipcop.yourdomain.com 1194
ca cacert.pem
cert mycert.crt
key mycert.key
cipher AES-256-CBC
verb 3
ns-cert-type server


4. Start the windows service and it should auto connect for you. when this works, set the service to be Automatic so it starts on boot.

Thanks to those for the information I needed.
Last Updated ( Sunday, 04 March 2007 )
 
< Prev   Next >

Buy great gadgets at

GetDigital