summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/man
diff options
context:
space:
mode:
authordarrenr <darrenr@FreeBSD.org>2002-08-28 13:42:48 +0000
committerdarrenr <darrenr@FreeBSD.org>2002-08-28 13:42:48 +0000
commit694c267c8d167aa37044133d07c98fa76a0de2cf (patch)
tree7cf1fdc0c816aa5373736136ad047a5a3e039bf6 /contrib/ipfilter/man
parent18a0c3053aaaa535b8ff6da16c42213ecab93518 (diff)
parent3aab5fb9fd5d3200009207f552a48b8100b853b2 (diff)
downloadFreeBSD-src-694c267c8d167aa37044133d07c98fa76a0de2cf.zip
FreeBSD-src-694c267c8d167aa37044133d07c98fa76a0de2cf.tar.gz
This commit was generated by cvs2svn to compensate for changes in r102521,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/ipfilter/man')
-rw-r--r--contrib/ipfilter/man/ipnat.59
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/ipfilter/man/ipnat.5 b/contrib/ipfilter/man/ipnat.5
index a8beb6f..f0a4ac9 100644
--- a/contrib/ipfilter/man/ipnat.5
+++ b/contrib/ipfilter/man/ipnat.5
@@ -96,6 +96,15 @@ or as
map de0 from 10.1.0.0/16 to any -> 201.2.3.4/32
.fi
.LP
+For even greater control, one may negate either of the "from" or "to" clauses
+with a preceding exclamation mark ("!"). Please note that one may not use a
+negated "from" within a \fBmap\fP rule or a negated "to" within a \fBrdr\fP
+rule. Such a rule might look like the following:
+.LP
+.nf
++map de0 from 10.1.0.0/16 ! to 10.1.0.0/16 -> 201.2.3.4/32
+.fi
+.PP
Only IP address and port numbers can be compared against. This is available
with all NAT rules.
.SH TRANSLATION
OpenPOWER on IntegriCloud