This recipe will demonstrate how to set up server-side routing in client or server mode. With this setup, the OpenVPN client will be able to reach all the machines behind the OpenVPN server.
Compared to the previous recipe, this recipe contains extra settings that are often used in production environments, as well as OpenVPN 2.1-specific features to make use of
linear addresses (
The configuration files used in this recipe are useful building blocks for other recipes throughout this book, hence, they are named as
basic-udp-server.conf, basic-udp-client.conf, and so on.
We use the following network layout here:
This recipe uses the PKI files created in the first recipe of this chapter. Install OpenVPN ...