Chapter 4. Client/Server Mode with tun Devices
The most commonly used deployment model for OpenVPN is a single server with multiple remote clients capable of routing IP traffic. We refer to this deployment model as the client/server mode with tun devices.
In this chapter, we start off with a basic client/server setup. We will add more features as we go along, and some advanced examples on how to set up OpenVPN in client/server tun mode are given at the end of this chapter. In the next chapter, we will explain how to integrate a client/server tun-based setup in an existing network setup, including topics such as Windows file sharing and policy based routing.
The following topics will be covered in this chapter:
- Setting up the Public Key Infrastructure
- Initial setup of the client/server mode
- Adding extra security with production-level configuration files
- Routing and server-side routing
- Client-specific configuration using CCD files
- Client-side routing
- Redirecting the default gateway
- The OpenVPN...