In this recipe, we will demonstrate how to troubleshoot issues related to the use of multiple
remote directives. The ability to use multiple
remote directives is one of the lesser well-known features of OpenVPN that has been available since version 2.2. It allows a user to specify multiple connection profiles to different hosts, different ports, and different protocols (for example, TCP versus UDP).
When using this directive, there is a pitfall to watch out for when specifying extra directives elsewhere in the configuration files, or on the command line. In this recipe, we will demonstrate what this pitfall is.
Set up the client and server certificates using the first recipe from Chapter 2, Client-server ...