1997-11-24 00:56:00 +03:00
|
|
|
.TH IPNAT 8
|
1997-01-05 16:06:38 +03:00
|
|
|
.SH NAME
|
|
|
|
ipnat \- user interface to the NAT
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B ipnat
|
|
|
|
[
|
1997-03-29 05:49:40 +03:00
|
|
|
.B \-lnrsvCF
|
1997-01-05 16:06:38 +03:00
|
|
|
]
|
|
|
|
.B \-f <\fIfilename\fP>
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
|
|
|
\fBipnat\fP opens the filename given (treating "\-" as stdin) and parses the
|
|
|
|
file for a set of rules which are to be added or removed from the IP NAT.
|
|
|
|
.PP
|
|
|
|
Each rule processed by \fBipnat\fP
|
|
|
|
is added to the kernels internal lists if there are no parsing problems.
|
|
|
|
Rules are added to the end of the internal lists, matching the order in
|
|
|
|
which they appear when given to \fBipnat\fP.
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
1997-03-29 05:49:40 +03:00
|
|
|
.B \-C
|
|
|
|
delete all entries in the current NAT listing (NAT rules)
|
|
|
|
.TP
|
|
|
|
.B \-F
|
|
|
|
delete all active entries in the current NAT table (currently active
|
|
|
|
NAT mappings)
|
|
|
|
.TP
|
1997-01-05 16:06:38 +03:00
|
|
|
.B \-l
|
|
|
|
Show the list of current NAT table entry mappings.
|
|
|
|
.TP
|
|
|
|
.B \-n
|
|
|
|
This flag (no-change) prevents \fBipf\fP from actually making any ioctl
|
|
|
|
calls or doing anything which would alter the currently running kernel.
|
|
|
|
.TP
|
|
|
|
.B \-s
|
|
|
|
Retrieve and display NAT statistics
|
|
|
|
.TP
|
|
|
|
.B \-r
|
|
|
|
Remove matching NAT rules rather than add them to the internal lists
|
|
|
|
.TP
|
|
|
|
.B \-v
|
|
|
|
Turn verbose mode on. Displays information relating to rule processing.
|
|
|
|
.DT
|
1997-11-24 17:30:02 +03:00
|
|
|
.SH FILES
|
|
|
|
/dev/ipnat
|
|
|
|
.br
|
|
|
|
/usr/share/examples/ipf Directory with examples.
|
1997-01-05 16:06:38 +03:00
|
|
|
.SH SEE ALSO
|
1997-11-24 17:30:02 +03:00
|
|
|
ipnat(5), ipf(8), ipfstat(8)
|