From 120d159c894dcc2a4b6cfe986a1b85157df44e27 Mon Sep 17 00:00:00 2001 From: cy Date: Thu, 30 Jul 2020 02:52:55 +0000 Subject: [PATCH] MFC r363453: Document the IPFILTER_PREDEFINED environment variable. PR: 248088 Reported by: joeb1@a1poweruser.com git-svn-id: svn://svn.freebsd.org/base/stable/10@363685 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- contrib/ipfilter/man/ipf.8 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/contrib/ipfilter/man/ipf.8 b/contrib/ipfilter/man/ipf.8 index afd3c61fe..3a84e7776 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 -- 2.42.0