Running OpenVPN on Mac OS X
The tunnel kernel extension
First of all, you'll need the tunnel kernel extension, version 1.2.1 or later. Install the extension in /System/Library/Extensions and the startup item in /Library/StartupItems, as detailed in the included instructions. If you don't want to load the extension manually, reboot after installation to load it through the startup item.
Obtain OpenVPN (1.3.2 was current at the time of writing) from http://openvpn.net/ and unpack the tarball. OpenVPN comes with a standard configure script, but you must first figure out some parameters to pass to it. OpenVPN has two prerequisites, OpenSSL for encryption and LZO for real-time compression.
With Mac OS X 10.2, OpenSSL is no longer a problem since Apple finally managed to include headers. The configure script will locate and use them automatically.
Next up is LZO. If you don't want real-time compression, you can just
disable it with
Once you have this worked out, run the configure script
with your parameters, then do a make and a
./configure --disable-lzo make make install
If you're not root already, use
Running OpenVPN on Mac OS X is not much different from other Unix flavors. I suggest that you read the official documentation first. Here are some Mac OS X specific tips:
|Feb 10, 2005||Copyright © 2002-2011 Christoph Pfisterer|