diff options
author | Jan Just Keijser <janjust@nikhef.nl> | 2015-05-20 04:33:20 +0200 |
---|---|---|
committer | Gert Doering <gert@greenie.muc.de> | 2015-05-23 13:18:00 +0200 |
commit | db950be85d37eab40d8fffe0bc2060059f8a7e10 (patch) | |
tree | 9b55d76cd2b73dbbb353b9eee6da27ead49e50aa /doc | |
parent | d3eacb2d6ebb8a42506343c54e00c72252d683f8 (diff) | |
download | openvpn-db950be85d37eab40d8fffe0bc2060059f8a7e10.tar.gz openvpn-db950be85d37eab40d8fffe0bc2060059f8a7e10.tar.xz openvpn-db950be85d37eab40d8fffe0bc2060059f8a7e10.zip |
include ifconfig_ environment variables in --up-restart env set
here's my patch for bug #93: missing ifconfig_* env vars after
up-restart. Tested with both IPv4, IPv6, topology subnet and topology net30
Document differences between --up-restart and --up in openvpn.8
See trac #93 and the discussion starting with <555BF270.3090706@nikhef.nl>
on the openvpn-devel mailing list.
fix trac #93
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <555BF270.3090706@nikhef.nl>
URL: http://article.gmane.org/gmane.network.openvpn.devel/9705
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/openvpn.8 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/openvpn.8 b/doc/openvpn.8 index b9eee0d..ef87bb7 100644 --- a/doc/openvpn.8 +++ b/doc/openvpn.8 @@ -1817,6 +1817,12 @@ has been specified, the up script will be called with .I restart as the last parameter. +NOTE: on restart, OpenVPN will not pass the full set of environment +variables to the script. Namely, everything related to routing and +gateways will not be passed, as nothing needs to be done anyway - all +the routing setup is already in place. Additionally, the up\-restart +script will run with the downgraded UID/GID settings (if configured). + The following standalone example shows how the .B \-\-up script can be called in both an initialization and restart context. |