Mastering OpenVPN

Welcome to the "Mastering OpenVPN" page. Eric Crist and I wrote the book "Mastering OpenVPN", published by Packt Publishing. It was published in September 2015.


Security on the internet is increasingly vital to both businesses and individuals. Encrypting network traffic using Virtual Private Networks is one method to enhance security. The internet, corporate, and "free internet" networks grow more hostile every day. OpenVPN, the most widely used open source VPN package, allows you to create a secure network across these systems, keeping your private data secure. The main advantage of using OpenVPN is its portability, which allows it to be embedded into several systems.

This book is an advanced guide that will help you build secure Virtual Private Networks using OpenVPN. You will begin your journey with an exploration of OpenVPN, while discussing its modes of operation, its clients, its secret keys, and their format types. You will explore PKI: its setting up and working, PAM authentication, and MTU troubleshooting. Next, client-server mode is discussed, the most commonly used deployment model, and you will learn about the two modes of operation using "tun" and "tap" devices.


Soon to follow...

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:22