Solaris Joy
A little more solaris joy. Mainly as a note for myself here is how to setup an OpenVPN client on OpenSolaris 2008.05:
Steps
Add package repositories
Add Blastwave and SunFreeWare IPS repositories to the Image Packaging System:
-bash-2.05b# pkg set-authority -O http://pkg.sunfreeware.com:9000/ Companion
-bash-2.05b# pkg set-authority -O http://blastwave.network.com:10000/ Blastwave
-bash-2.05b# pkg refresh
Install and setup the TUN device
-bash-2.05b# pkg install IPStun
-bash-2.05b# add_drv tun
Install OpenVPN
-bash-2.05b# pkg install IPSopenvpn
… and now you’re ready to put your openvpn.conf
file in /etc/csw/openvpn/
.
Starting/Stopping
You start and stop the daemon using:
-bash-2.05b# /etc/init.d/openvpn start
-bash-2.05b# /etc/init.d/openvpn stop
… which is nice and familiar, but I’d rather have it set up for use with svcadm
. Ah well, can’t have everything.