Friday 16 May 2008

OpenVPN and solaris

A little more solaris joy. Mainly as a note for myself here is how to setup an OpenVPN client on OpenSolaris 2008.05:




  1. 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



  2. Install and setup the TUN device:



    -bash-2.05b# pkg install IPStun
    -bash-2.05b# add_drv tun



  3. Install openvpn:



    -bash-2.05b# pkg install IPSopenvpn


... and now you're ready to put your openvpn.conf file in /etc/csw/openvpn/.

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.

1 comment:

alex smith said...

11. I would like to thank my vpn that protects me from ISPs’ control and hackers