General and Solaris instructions here: Toby's Memestreams (Most of the rest pulled from user toby's instructions as well) Download latest lzo library from http://www.oberhumer.com/opensource/lzo/download/ # cd lzo-2.02 # ./configure # make install Download latest openvpn 2.0.x from http://openvpn.net/download.html # cd openvpn-2.0.8 # ./configure # make install Download & install tun driver: http://www-user.rhrk.uni-kl.de/~nissler/tuntap/ Create openvpn client config directory and copy 5 supplied files into it (substitute the right names for your cert and key files): # mkdir -p /etc/openvpn/ # mv ca.crt ta.key local.conf mypc-vpnclient.* /etc/openvpn/ # cd /etc/openvpn/ # chmod 400 ta.key mypc-vpnclient.key.pem # chmod 444 ca.crt mypc-vpnclient.cert.pem # chown -R root:wheel . (Note the two private key files are confidential) To connect: # /usr/local/sbin/openvpn --config /etc/openvpn/local.conf --daemon To disconnect: # kill `cat /var/run/openvpn.pid` or # killall openvpn To set openvpn to init on boot, do this: http://openvpn.net/archive/openvpn-users/2005-12/msg00424.html The second string in that example is the path to the config file. The other paths are to the directory that file and the keys reside in. |