summaryrefslogtreecommitdiffstats
path: root/openvpn.8
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2011-11-18 13:21:43 +0100
committerDavid Sommerseth <davids@redhat.com>2011-11-23 11:53:22 +0100
commit9f6ac06b6d15e14566b820018f295233e831eb68 (patch)
tree0ffec7736d424eba0d05e605886b0ab1a1422f8e /openvpn.8
parent93626f2cf71b4803aa1248a928bfc1ac8c9da18b (diff)
downloadopenvpn-9f6ac06b6d15e14566b820018f295233e831eb68.tar.gz
openvpn-9f6ac06b6d15e14566b820018f295233e831eb68.tar.xz
openvpn-9f6ac06b6d15e14566b820018f295233e831eb68.zip
Make '--win-sys env' default
Without this patch, the default path used by OpenVPN is hard coded to C:\WINDOWS. As users might install Windows in a different directory, this approach will cause OpenVPN to malfunction in some configurations. OpenVPN have supported using the system path, by adding --win-sys env. This patch removes the hard coded approach and uses the --win-sys env approach by default instead. Trac-ticket: 66 URL: http://thread.gmane.org/gmane.network.openvpn.user/32508 Signed-off-by: David Sommerseth <davids@redhat.com> Tested-by: Samuli Seppänen <samuli@openvpn.net> Acked-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'openvpn.8')
-rw-r--r--openvpn.819
1 files changed, 11 insertions, 8 deletions
diff --git a/openvpn.8 b/openvpn.8
index b8594e1..4a86ce7 100644
--- a/openvpn.8
+++ b/openvpn.8
@@ -4769,20 +4769,23 @@ Optional group to be owner of this tunnel.
.SS Windows-Specific Options:
.\"*********************************************************
.TP
-.B \-\-win-sys path|'env'
+.B \-\-win-sys path
Set the Windows system directory pathname to use when looking for system
executables such as
.B route.exe
and
.B netsh.exe.
By default, if this directive is
-not specified, the pathname will be set to "C:\\WINDOWS"
-
-The special string
-.B 'env'
-indicates that the pathname should be read from the
-.B SystemRoot
-environmental variable.
+not specified, OpenVPN will use the SystemRoot environment variable.
+
+This option have changed behaviour in OpenVPN 2.3. Earlier you had to
+define
+.B --win-sys env
+to use the SystemRoot environment variable, otherwise it defaulted to C:\\WINDOWS.
+It is not needed to use the
+.B env
+keyword any more, and it will just be ignored. A warning is logged when this
+is found in the configuration file.
.\"*********************************************************
.TP
.B \-\-ip-win32 method