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)

Logging levels


The ability to vary the verbosity of log output is useful when switching between a troubleshooting session and a normal operational session. The default logging level of 1 provides some useful informational logging level of 1 provides some useful informational logs along with the fatal errors indicative of a problem.

As of this writing, there are 108 different logging defines in the source, covered through 11 distinct verbosity levels. The majority of troubleshooting at an administrative level I've seen has not needed to go past verbosity 4 though there are exceptions, like when a firewall issue is suspected.

The following table provides a brief description of each level and provides the primary key log messages provided at that level. After the table, log samples showing a few different key levels are provided to illustrate the level of detail:

[n]

Included messages at verbosity level

0

Only fatal errors are logged.

1

Informational messages are also logged. Most...