diff options
author | darrenr <darrenr@FreeBSD.org> | 2002-08-28 13:42:48 +0000 |
---|---|---|
committer | darrenr <darrenr@FreeBSD.org> | 2002-08-28 13:42:48 +0000 |
commit | 694c267c8d167aa37044133d07c98fa76a0de2cf (patch) | |
tree | 7cf1fdc0c816aa5373736136ad047a5a3e039bf6 /contrib/ipfilter/man | |
parent | 18a0c3053aaaa535b8ff6da16c42213ecab93518 (diff) | |
parent | 3aab5fb9fd5d3200009207f552a48b8100b853b2 (diff) | |
download | FreeBSD-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.5 | 9 |
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 |