aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2020-07-30 02:52:55 +0000
committerCy Schubert <cy@FreeBSD.org>2020-07-30 02:52:55 +0000
commit82d9a8467381e4633bb367b164c84dfc6f41aff7 (patch)
tree54960c41a24a851d38386bbaf5b6ab8812024e0c
parentf1577c2659e663311578776f4cd3cb47ab8a9c19 (diff)
downloadsrc-82d9a8467381e4633bb367b164c84dfc6f41aff7.tar.gz
src-82d9a8467381e4633bb367b164c84dfc6f41aff7.zip
MFC r363453:
Document the IPFILTER_PREDEFINED environment variable. PR: 248088 Reported by: joeb1@a1poweruser.com
Notes
Notes: svn path=/stable/10/; revision=363685
-rw-r--r--contrib/ipfilter/man/ipf.89
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/ipfilter/man/ipf.8 b/contrib/ipfilter/man/ipf.8
index afd3c61fea9d..3a84e7776b47 100644
--- a/contrib/ipfilter/man/ipf.8
+++ b/contrib/ipfilter/man/ipf.8
@@ -158,6 +158,15 @@ display the statistics prior to them being zeroed.
Zero global statistics held in the kernel for filtering only (this doesn't
affect fragment or state statistics).
.DT
+.SH ENVIRONMENT
+.NM utilizes the following environment variable.
+.TP
+.B IPF_PREDEFINED
+ipfilter variables, see VARIABLES in ipf(5), can be specified in this
+environment variable providing shell access to ipfilter and ipnat variables.
+For example,
+.br
+IPF_PREDEFINED='my_server="10.1.1.1"; my_client="10.1.1.2";'
.SH FILES
/dev/ipauth
.br