MacOS: using Tunnelblick
This recipe will demonstrate how to set up OpenVPN on a machine running Mac OS X. For Mac OS X, several OpenVPN GUI applications are available. In this recipe, we will show how to use one of them, Tunnelblick (http://code.google.com/p/tunnelblick/).
Getting ready
We use the following network layout:
Set up the client and server certificates using the first recipe from Chapter 2, Client-server IP-only Networks. For this recipe, the server computer was running CentOS 5 Linux and OpenVPN 2.1.1. The client was running Mac OS X "Leopard", Tunnelblick 3.0, and OpenVPN 2.1.1. Keep the configuration file, example10-2-server.conf
, from the previous recipe at hand.
How to do it...
Launch Tunnelblick if it is not running already.
Click on the tunnel icon in the task bar, after which the main Tunnelblick window will come up:
Click on Edit configuration to launch the Text Editor with the default configuration file. Set up the client configuration file as follows:
Note that this is...