When routes are pushed to a Windows client, there are two methods for adding these routes to the system routing tables:
In most cases, the IPAPI method works fine, but sometimes, it is necessary to overrule this behavior. In this recipe, we will show how this is done, and what to look for in the client log file to verify that the right method has been chosen.
Set up the client and server certificates using the first recipe from Chapter 2, Client-server IP-only Networks. For this recipe, the server computer was running CentOS 5 Linux and OpenVPN 2.1.1. The client computer was running Windows XP SP3 and OpenVPN 2.1.3. Keep the configuration file, basic-udp-server.conf
, from the Chapter 2 recipe Server-side routing at hand, as well as the client configuration file basic-udp-client.ovpn
from the Chapter 2 recipe Using an ifconfig-pool block at hand.