Book Image

OpenVPN 2 Cookbook

Book Image

OpenVPN 2 Cookbook

Overview of this book

Table of Contents (19 chapters)
OpenVPN 2 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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

  1. Launch Tunnelblick if it is not running already.

  2. Click on the tunnel icon in the task bar, after which the main Tunnelblick window will come up:

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