aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openvpn.817
-rw-r--r--options.c2
2 files changed, 18 insertions, 1 deletions
diff --git a/openvpn.8 b/openvpn.8
index 182e5d5..a0e2b07 100644
--- a/openvpn.8
+++ b/openvpn.8
@@ -2928,9 +2928,26 @@ file.
Specify a directory
.B dir
for temporary files. This directory will be used by
+openvpn processes and script to communicate temporary
+data with openvpn main process. Note that
+the directory must be writable by the OpenVPN process
+after it has dropped it's root privileges.
+
+This directory will be used by in the following cases:
+
+*
.B \-\-client-connect
scripts to dynamically generate client-specific
configuration files.
+
+*
+.B OPENVPN_PLUGIN_AUTH_USER_PASS_VERIFY
+plugin hook to return success/failure via auth_control_file
+when using deferred auth method
+
+*
+.B OPENVPN_PLUGIN_ENABLE_PF
+plugin hook to pass filtering rules via pf_file
.\"*********************************************************
.TP
.B \-\-hash-size r v
diff --git a/options.c b/options.c
index fca4a8e..f489755 100644
--- a/options.c
+++ b/options.c
@@ -413,7 +413,7 @@ static const char usage_message[] =
"--client-disconnect cmd : Run script cmd on client disconnection.\n"
"--client-config-dir dir : Directory for custom client config files.\n"
"--ccd-exclusive : Refuse connection unless custom client config is found.\n"
- "--tmp-dir dir : Temporary directory, used for --client-connect return file.\n"
+ "--tmp-dir dir : Temporary directory, used for --client-connect return file and plugin communication.\n"
"--hash-size r v : Set the size of the real address hash table to r and the\n"
" virtual address table to v.\n"
"--bcast-buffers n : Allocate n broadcast buffers.\n"