Create an Account
username: password:
 
  MemeStreams Logo

How to setup openvpn on OS X, and Solaris

search

Lost
Picture of Lost
My Blog
My Profile
My Audience
My Sources
Send Me a Message

sponsored links

Lost's topics
Arts
Business
Games
Health and Wellness
Home and Garden
Miscellaneous
Current Events
Recreation
Local Information
Science
Society
Sports
Technology

support us

Get MemeStreams Stuff!


 
How to setup openvpn on OS X, and Solaris
Topic: Technology 10:20 pm EST, Mar  2, 2007

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.

How to setup openvpn on OS X, and Solaris



 
 
Powered By Industrial Memetics
RSS2.0