OpenVPN 2 Cookbook

Welcome to my OpenVPN 2 Cookbook page. The OpenVPN 2 Cookbook, published by Packt Publishing, is my first book. It was published in February 2011.

Official Press Release

Harness the power of the OpenVPN 2 network using Packt's new book

Packt is pleased to announce OpenVPN2 Cookbook, a new book which conjures 100 simple yet incredibly effective recipes which helps harness the power of the OpenVPN 2 network. Written by Jan Just Keijser, this book provides solutions for the most common problems and scenarios faced with OpenVPN.

OpenVPN is a free and open source software application that implements virtual private network (VPN) techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It uses SSL/TLS security for encryption and is capable of traversing network address translators (NATs) and firewalls.

OpenVPN2 Cookbook explores all the advanced features of OpenVPN and even some undocumented options. It covers all the common networks, including point-to-point networks and multi-client TUNstyle and TAP-style networks. Each technical aspect is broken down into short recipes that demonstrate solutions with working code, and then explains why and how that works.

All in all, this book helps one solve their OpenVPN problems, as well as helps configure OpenVPN on Linux, Windows and Mac OS X and set up a public key infrastructure (PKI) for use with OpenVPN, including X509 certificates, certificate revocation lists and intermediary certificate authorities.

System administrators and networking professionals who are interested in building secure VPNs using OpenVPN will find the book an interesting and beneficial read. This book is out now and available from Packt. For more information please visit:

A PDF of this press release is also available.


Code examples

You can find an up-to-date list of the code and configuration examples here:


You can find the current list of known errata here:
Comments to Jan Just Keijser | IP = | lastmod = 31/01/2019 03:21:26