diff options
author | David Sommerseth <davids@redhat.com> | 2011-11-18 13:21:43 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-11-23 11:53:22 +0100 |
commit | 9f6ac06b6d15e14566b820018f295233e831eb68 (patch) | |
tree | 0ffec7736d424eba0d05e605886b0ab1a1422f8e /openvpn.8 | |
parent | 93626f2cf71b4803aa1248a928bfc1ac8c9da18b (diff) | |
download | openvpn-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.8 | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -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 |