Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Troubleshooting OpenVPN

You're reading from   Troubleshooting OpenVPN Get the solutions you need to troubleshoot any issue you may face to keep your OpenVPN up and running

Arrow left icon
Product type Paperback
Published in Mar 2017
Publisher Packt
ISBN-13 9781786461964
Length 178 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Eric F Crist Eric F Crist
Author Profile Icon Eric F Crist
Eric F Crist
Arrow right icon
View More author details
Toc

Logging options


The best source of information when troubleshooting OpenVPN connection and configuration problems is the log file, whether it is on the server or the client. OpenVPN provides a multitude of logging options, allowing an administrator to best gather the data necessary to resolve a problem. This book may be the first comprehensive guide to what is logged by OpenVPN and how best to respond to the messages in that log.

In order to successfully tune the logging of your OpenVPN client or server, it's important to understand what the available logging options are and what impact they will have on the available troubleshooting data. This section will provide a detailed description of every logging option found in the 2.3.11 release of OpenVPN. The following command defines the file where log data will be written out:

--log file

It is suggested the entire path be included, but if --cd is used, or when applying the option from the command line, it's reasonable to use a relative path...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime