From patchwork Mon Mar 18 21:16:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Openvpn-devel] Improve the documentation for --dhcp-option X-Patchwork-Submitter: Selva Nair X-Patchwork-Id: 703 Message-Id: <1552943809-6367-1-git-send-email-selva.nair@gmail.com> To: openvpn-devel@lists.sourceforge.net Date: Mon, 18 Mar 2019 17:16:49 -0400 From: selva.nair@gmail.com List-Id: From: Selva Nair Make clear that --dhcp-option is not processed on non-Windows clients and the user is expected to handle it using an --up script. Signed-off-by: Selva Nair --- doc/openvpn.8 | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/doc/openvpn.8 b/doc/openvpn.8 index ce44044..993c8bd 100644 --- a/doc/openvpn.8 +++ b/doc/openvpn.8 @@ -6026,13 +6026,21 @@ scope IDs. The Scope ID becomes a part of the NetBIOS name, making the name uniq .B DISABLE\-NBT \-\- Disable Netbios\-over\-TCP/IP. -Note that if +Note that +.B \-\-dhcp\-option +is processed only on Windows clients. If .B \-\-dhcp\-option -is pushed via +is used directly on or pushed via .B \-\-push -to a non\-windows client, the option will be saved in the client's -environment before the up script is called, under -the name "foreign_option_{n}". +to a non\-windows client, the option is +.B only +saved in the client's +environment before the +.B \-\-up +script is called, under the name "foreign_option_{n}". +The user has to arrange an +.B \-\-up +script to pick up those parameters and act on them as required. .\"********************************************************* .TP .B \-\-tap\-sleep n