Routing features: redirect-private, allow-pull-fqdn
In OpenVPN 2.1, some of the routing features are expanded. Most notably, there are new options for the directive redirect-gateway
and several new routing directives are available:
redirect-private
: This option behaves very similar to theredirect-gateway
, especially when the new parameters are used, but it does NOT alter the default gateway.allow-pull-fqdn
: Allows the client to pull DNS names from the OpenVPN server. Previously, only IP addresses could be pushed or pulled. This option cannot be 'pushed' and needs to be added to the client configuration itself.route-nopull
: All the options are pulled by a client from the server, except for the routing options. This can be particularly handy when troubleshooting an OpenVPN setup.max-routes n
: Defines the maximum number of routes that may be defined or pulled from a remote server.
In this recipe, we will focus on the redirect-private
directive and its parameters, as well as the allow-pull...