diff options
author | James Yonan | 2011-12-26 00:18:50 +0000 |
---|---|---|
committer | David Sommerseth | 2012-01-27 10:33:56 +0100 |
commit | 8fc83a2d6cfa44032f38e13fc2f7dbc096f584d9 (patch) | |
tree | 7e71254561a80527ae49099fbb41ea285503f06e /win32.c | |
parent | 415421c24ac5b62d59fb8f03076521cba6f126cc (diff) | |
download | openvpn-8fc83a2d6cfa44032f38e13fc2f7dbc096f584d9.zip openvpn-8fc83a2d6cfa44032f38e13fc2f7dbc096f584d9.tar.gz |
Added support for "on-link" routes on Linux client
These are routes where the gateway is specified as an interface rather
than an address. This allows redirect-gateway to work on Linux clients
whose connection to the internet is via a point-to-point link such as
PPP.
Note that at the moment, this capability is incompatible with
the "redirect-gateway block-local" directive -- this is because
the block-local directive blocks all traffic from the local LAN
except for the local and gateway addresses. Since a PPP link
is essentially a subnet of two addresses, local and remote (i.e.
gateway), the set of addresses that would be blocked by block-local
is empty. Therefore, the "redirect-gateway block-local" directive
will be ignored on PPP links.
To view the OpenVPN client's current determination of the default
gateway, use this command:
./openvpn --show-gateway
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7794 e7ae566f-a301-0410-adde-c780ea21d3b5
Signed-off-by: James Yonan <james@openvpn.net>
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'win32.c')
0 files changed, 0 insertions, 0 deletions