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 including the use of
linear addresses (
The configuration files used in this recipe are useful building blocks for other recipes throughout this book; therefore, they are named
basic-udp-client.conf, and so on.
Install OpenVPN 2.3.9 or higher on two computers. Make sure the computers are connected over a network. Set up the client and server certificates using the previous ...