Content #
The syntax and options for the route directive is:
route <network> <netmask> vpn_gateway <metric>
The word vpn_gateway is a special OpenVPN keyword and it specifies the VPN remote endpoint address. Normally, this keyword does not have to be specified, unless it is also necessary to specify the metric for this route.
Here, gateway can either be explicitly set as an IPv4 address, or the special keywords vpn_gateway or net_gateway can be used. If no gateway and no metric are specified, then vpn_gateway is used.
The keyword net_gateway is useful to specify a subnet that should explicitly not be routed via the VPN.
From #
Mastering OpenVPN