diff options
author | Lev Stipakov | 2021-11-09 03:59:27 +0200 |
---|---|---|
committer | Gert Doering | 2021-11-12 14:24:51 +0100 |
commit | 7df6583d76fc2ff485186ede75f00c9b7dc3e42c (patch) | |
tree | 1048a184d4c72c6d030ef1d061e7b3f4ada5b4bc /doc/man-sections/windows-options.rst | |
parent | 08081aa0a1536ac9e545f673f546dafa1692b714 (diff) | |
download | openvpn-7df6583d76fc2ff485186ede75f00c9b7dc3e42c.zip openvpn-7df6583d76fc2ff485186ede75f00c9b7dc3e42c.tar.gz |
Use network address for emulated DHCP server as a default
This is the rebase of original Selva Nair's patch
which hasn't been merged:
https://sourceforge.net/p/openvpn/mailman/message/34674818/
and documentation change to reflect code changes, which
is basically a revert of another Selva's patch (which got merged):
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13387.h
tml
For subnet topology use "offset 0" as default for
calculating DHCP server address, which makes it equal
to the network address.
There is no know reason why non-zero default offset
is needed. Besides, offset -1 breaks subnet /30 case,
which in some cases is pushed by OpenVPN Cloud product.
Signed-off-by: Lev Stipakov <lev@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20211109015927.311-1-lstipakov@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23156.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'doc/man-sections/windows-options.rst')
-rw-r--r-- | doc/man-sections/windows-options.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man-sections/windows-options.rst b/doc/man-sections/windows-options.rst index eacb9af..c389fbc 100644 --- a/doc/man-sections/windows-options.rst +++ b/doc/man-sections/windows-options.rst @@ -93,7 +93,7 @@ Windows-Specific Options server to masquerade as if it were coming from the remote endpoint. The optional offset parameter is an integer which is > :code:`-256` - and < :code:`256` and which defaults to -1. If offset is positive, + and < :code:`256` and which defaults to 0. If offset is positive, the DHCP server will masquerade as the IP address at network address + offset. If offset is negative, the DHCP server will masquerade as the IP address at broadcast address + offset. |