Chapter 2.  Client-server IP-only Networks

In this chapter, we will cover the following topics:

  • Setting up the public and private keys
  • A simple configuration
  • Server-side routing
  • Adding IPv6 support
  • Using client-config-dir files
  • Routing - subnets on both sides
  • Redirecting the default gateway
  • Redirecting the IPv6 default gateway
  • Using an ifconfig-pool block
  • Using the status file
  • The management interface
  • Proxy-arp

Introduction

The recipes in this chapter will cover the most commonly used deployment model for OpenVPN: a single server with multiple remote clients capable of routing IP traffic.

We will also look at several common routing configurations in addition to the use of the management interface at both the client and server side.

The last recipe of this chapter ...

Get OpenVPN Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.