summaryrefslogtreecommitdiff
path: root/sbin/ipnat/ipnat.1
diff options
context:
space:
mode:
authordm <dm@cvs.openbsd.org>1996-05-10 21:41:01 +0000
committerdm <dm@cvs.openbsd.org>1996-05-10 21:41:01 +0000
commit76242ad5ccbbf411a0dfd66daab39d9a460c09dc (patch)
tree92b555bd9197bb7976ae825d415f70d567c37170 /sbin/ipnat/ipnat.1
parent75774d963fafaaaa2cf697156d616e2ebe3db3c8 (diff)
ipfilter 3.0.4
Diffstat (limited to 'sbin/ipnat/ipnat.1')
-rw-r--r--sbin/ipnat/ipnat.129
1 files changed, 29 insertions, 0 deletions
diff --git a/sbin/ipnat/ipnat.1 b/sbin/ipnat/ipnat.1
new file mode 100644
index 00000000000..b0ddc59a474
--- /dev/null
+++ b/sbin/ipnat/ipnat.1
@@ -0,0 +1,29 @@
+.TH IPFNAT 1
+.SH NAME
+ipnat - user interface to the NAT
+.SH SYNOPSIS
+ipnat [-lnrsv] -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
+.IP -l
+Show the list of current NAT table entry mappings.
+.IP -n
+This flag (no-change) prevents \fBipf\fP from actually making any ioctl
+calls or doing anything which would alter the currently running kernel.
+.IP -s
+retrieve and display NAT statistics
+.IP -r
+remove matching NAT rules rather than add them to the internal lists
+.IP -v
+turn verbose mode on. Displays information relating to rule processing.
+.DT
+.SH SEE ALSO
+ipfstat(1), ipftest(1), ipf(1), ipnat(5)