Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Troubleshooting OpenVPN

You're reading from  Troubleshooting OpenVPN

Product type Book
Published in Mar 2017
Publisher Packt
ISBN-13 9781786461964
Pages 178 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Eric F Crist Eric F Crist
Profile icon Eric F Crist

File and process permissions


For OpenVPN to be effective, the user running the OpenVPN process will need to have the necessary privileges and access to the system, networking, and filesystem. This includes access to writing log files, modifying network adapter settings and the system routing tables, and executing scripts or programs.

Privilege de-escalation

As stated earlier, to make many of the network and routing changes, OpenVPN will need some initial privileges in excess of a typical user. Once these changes have been made, there is usually no need to retain these administrative rights. Using the --user and --group configuration parameters, the administrator can instruct OpenVPN that unprivileged user to operate as once the initialization process has completed.

There are caveats to dropping to an unprivileged user, however. First, all files that the OpenVPN process needs to use during normal operation must be readable and/or writable by the unprivileged user. This includes --client-config...

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 €14.99/month. Cancel anytime}