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)

TLS authentication


OpenVPN provides a mechanism using a set of pre-shared keys to cryptographically sign every packet between the server and client. The mechanism for this is the same secret key used for a static-key OpenVPN setup, as was the original release.

The advantage to this signature is two-fold. First, it helps prevent any sort of denial of service attack using cryptographic routines within TLS to overload an OpenVPN server. The OpenVPN process will quite simply drop any packet without a valid signature before the CPU-intensive handshake and key exchange operations take place.

As a second advantage, --tls-auth aids in preventing keying material disclosure. This is specifically helpful for vulnerabilities such as Heartbleed or DROWN. If a cipher is completely broken, it is possible to still snoop the traffic from OpenVPN because --tls-auth doesn't provide any additional cryptographic layers.

Note

You can read more about the Heartbleed and DROWN OpenSSL vulnerabilities by going to the...