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
Mastering OpenVPN

You're reading from   Mastering OpenVPN Master building and integrating secure private networks using OpenVPN

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher Packt
ISBN-13 9781783553136
Length 364 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Eric F Crist Eric F Crist
Author Profile Icon Eric F Crist
Eric F Crist
Jan Just Keijser Jan Just Keijser
Author Profile Icon Jan Just Keijser
Jan Just Keijser
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Introduction to OpenVPN FREE CHAPTER 2. Point-to-point Mode 3. PKIs and Certificates 4. Client/Server Mode with tun Devices 5. Advanced Deployment Scenarios in tun Mode 6. Client/Server Mode with tap Devices 7. Scripting and Plugins 8. Using OpenVPN on Mobile Devices and Home Routers 9. Troubleshooting and Tuning 10. Future Directions Index

Pros and cons of the key mode

The main use case for using pre-shared key mode is to connect two remote networks, for example, a main office and a remote office of a small company. As soon as more than three users or endpoints are required, it is far easier to use client/server mode, as described in Chapter 4, Client/Server Mode with tun Devices. An example of how to connect three sites together using pre-shared keys is given later in this chapter, and it will become clear why pre-shared key mode does not scale well beyond three sites or users.

The main advantages of using pre-shared key mode are as follows:

  • It is very easy to set up
  • There is no need for public key infrastructure (PKI) or X.509 certificates
  • Can run on limited hardware, such as Linux-based switches or routers

The disadvantages of using pre-shared key mode are:

  • As the name point-to-point indicates, only two endpoints can be used by a single connection. Therefore, this mode does not scale well.
  • Some GUI wrappers for OpenVPN (for...
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 $19.99/month. Cancel anytime