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

Chapter 2. Point-to-point Mode

At first, point-to-point mode using pre-shared keys was the only available option when using OpenVPN. Nowadays, there are multiple ways to use OpenVPN, but point-to-point mode still has its uses. The term point-to-point mode using pre-shared keys is often abbreviated to pre-shared keys.

In point-to-point mode, OpenVPN is configured using pre-shared secret keys for predefined endpoints, and only a single endpoint can connect to a server instance at a time. The term server can be considered misleading, as both endpoints are more or less equal when it comes to functionality. The endpoint that initiates the connection is considered the client, the other endpoint is considered as the server.

We will start off with a demonstration of a very basic example. After that, we will discuss more features that OpenVPN provides. We will look at the following topics:

  • TCP protocol and different ports
  • TAP mode
  • OpenVPN secret keys
  • Routing
  • Complete setup, including IPv6
  • An...
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 AU $24.99/month. Cancel anytime