diff options
author | Gert Doering <gert@greenie.muc.de> | 2015-09-11 17:33:41 +0200 |
---|---|---|
committer | Gert Doering <gert@greenie.muc.de> | 2015-09-15 11:46:35 +0200 |
commit | d8a8656f1a8721f56a08439afe24916beadfef55 (patch) | |
tree | e09cbf59cff743c9d87a5abfebd14bed728e221c /doc | |
parent | c0da18cd7cca481fd918620331540e565f11ce23 (diff) | |
download | openvpn-d8a8656f1a8721f56a08439afe24916beadfef55.tar.gz openvpn-d8a8656f1a8721f56a08439afe24916beadfef55.tar.xz openvpn-d8a8656f1a8721f56a08439afe24916beadfef55.zip |
Create basic infrastructure for IPv6 default gateway handling / redirection.
- introduce get_default_gateway_ipv6() and add stub functions with the
implementation plan to the 4 major code blocks here (Windows,
Linux/Android, *BSD and Solaris, "others")
- add &rgi6 to print_default_gateway(), and teach it to print v4, v6
or both, depending on the calling environment
- unlike IPv4 (today), get_default_gateway_ipv6() is passed the actual
target IPv6 address of the server we're looking for, so we can handle
more complicated routing setups ("default to eth0, vpn server to ppp0")
correctly
- consequently, --show-gateway has an optional parameter now, the
IPv6 address to look up (for debugging)
- document --show-gateway and the extra option in openvpn.8
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <1441985627-14822-5-git-send-email-gert@greenie.muc.de>
URL: http://article.gmane.org/gmane.network.openvpn.devel/10087
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/openvpn.8 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/openvpn.8 b/doc/openvpn.8 index 0692a80..3a0d4e0 100644 --- a/doc/openvpn.8 +++ b/doc/openvpn.8 @@ -5616,6 +5616,15 @@ module will be queried. .B \-\-verb option can be used BEFORE this option to produce debugging information. .\"********************************************************* +.SS Standalone Debug Options: +.\"********************************************************* +.TP +.B \-\-show\-gateway [v6target] +(Standalone) +Show current IPv4 and IPv6 default gateway and interface towards the +gateway (if the protocol in question is enabled). If an IPv6 address +is passed as argument, the IPv6 route for this host is reported. +.\"********************************************************* .SS IPv6 Related Options .\"********************************************************* The following options exist to support IPv6 tunneling in peer-to-peer |