Book Image

Troubleshooting OpenVPN

By : Eric F Crist
Book Image

Troubleshooting OpenVPN

By: Eric F Crist

Overview of this book

OpenVPN, the most widely used open source VPN package, allows you to create a secure network across systems, keeping your private data secure. Connectivity and other issues are a pain to deal with, especially if they are impacting your business. This book will help you resolve the issues faced by OpenVPN users and teach the techniques on how to troubleshoot it like a true expert. This book is a one stop solution for troubleshooting any issue related to OpenVPN. We will start by introducing you to troubleshooting techniques such as Packet Sniffing, Log Parsing, and OpenSSL. You will see how to overcome operating system specific errors. Later on, you will get to know about network and routing errors by exploring the concepts of IPv4 and IPv6 networking issues. You will discover how to overcome these issues to improve the performance of your OpenVPN deployment. By the end of the book, you will know the best practices, tips, and tricks to ensure the smooth running of your OpenVPN.
Table of Contents (16 chapters)

Cryptographic performance


Cryptographic algorithms are complex mathematical formulas that require powerful microprocessors and good entropy (random data). The more advanced and complex an algorithm is, the more complex calculation will become. Older, slower processors will take substantially longer than newer and faster processors.

Library differences

Both OpenSSL and mbed TLS are constantly making improvements to both security and performance. While writing this book, I was using my MacBook Pro with the latest version of macOS (10.12.2) and I was going to show performance numbers for the AES cipher set using the openssl speed -evp aes-128-cbc command. The purpose is to show a reproducible performance metric on various platforms.

As you can see in the following screenshot, my Mac has OpenSSL version 0.9.8zh installed. OpenSSL included support for AES-NI with version 1.0, and the performance gains are evident in the first set of table entries (in the Result summary section, given later).

Performance...