diff options
author | Josh Cepek | 2014-08-18 05:51:01 -0500 |
---|---|---|
committer | Gert Doering | 2016-05-18 08:35:51 +0200 |
commit | b8c4684f01701742eceb9dc6bfc4e2564278f6fd (patch) | |
tree | 3ded33ac6d60c994875e796a0bdb08301fa18e42 /doc | |
parent | d368abbecf0a67ba5c29dec28fc724655629ef70 (diff) | |
download | openvpn-b8c4684f01701742eceb9dc6bfc4e2564278f6fd.zip openvpn-b8c4684f01701742eceb9dc6bfc4e2564278f6fd.tar.gz |
Push an IPv6 CIDR mask used by the server, not the pool's size
Correctly handle CIDR masks when pushing clients addressing from an IPv6
pool. This change ignores the incorrectly used `bits` argument to the
--ifconfig-ipv6-pool option.
The code to save any provided CIDR mask after the pool IP is left in;
this may someday become useful when we move to allow IPv6 pools without
relying on an IPv4 pool assignment.
Signed-off-by: Josh Cepek <josh.cepek@usa.net>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <53F1DA95.7020701@usa.net>
URL: http://article.gmane.org/gmane.network.openvpn.devel/8990
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit c4ed931a70502a351ff1089aa1bfb8001586f788)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/openvpn.8 | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/openvpn.8 b/doc/openvpn.8 index 1cad9be..ba932c1 100644 --- a/doc/openvpn.8 +++ b/doc/openvpn.8 @@ -5622,10 +5622,7 @@ Is only accepted if ``\-\-mode server'' or ``\-\-server'' is set. Specify an IPv6 address pool for dynamic assignment to clients. The pool starts at .B ipv6addr -and increments by +1 for every new client (linear mode). The -.B /bits -setting controls the size of the pool. Due to implementation details, -the pool size must be between /64 and /112. +and matches the offset determined from the start of the IPv4 pool. .TP .B \-\-ifconfig\-ipv6\-push ipv6addr/bits ipv6remote for ccd/ per-client static IPv6 interface configuration, see |