]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/ipfilter/man/ipnat.1
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / ipfilter / man / ipnat.1
1 .TH IPNAT 1
2 .SH NAME
3 ipnat \- user interface to the NAT
4 .SH SYNOPSIS
5 .B ipnat
6 [
7 .B \-lnrsvCF
8 ]
9 .B \-f <\fIfilename\fP>
10 .SH DESCRIPTION
11 .PP
12 \fBipnat\fP opens the filename given (treating "\-" as stdin) and parses the
13 file for a set of rules which are to be added or removed from the IP NAT.
14 .PP
15 Each rule processed by \fBipnat\fP
16 is added to the kernels internal lists if there are no parsing problems.
17 Rules are added to the end of the internal lists, matching the order in
18 which they appear when given to \fBipnat\fP.
19 .SH OPTIONS
20 .TP
21 .B \-C
22 delete all entries in the current NAT rule listing (NAT rules)
23 .TP
24 .B \-F
25 delete all active entries in the current NAT translation table (currently
26 active NAT mappings)
27 .TP
28 .B \-l
29 Show the list of current NAT table entry mappings.
30 .TP
31 .B \-n
32 This flag (no-change) prevents \fBipf\fP from actually making any ioctl
33 calls or doing anything which would alter the currently running kernel.
34 .TP
35 .B \-s
36 Retrieve and display NAT statistics
37 .TP
38 .B \-r
39 Remove matching NAT rules rather than add them to the internal lists
40 .TP
41 .B \-v
42 Turn verbose mode on.  Displays information relating to rule processing
43 and active rules/table entries.
44 .DT
45 .SH FILES
46 /dev/ipnat
47 .SH SEE ALSO
48 ipnat(5), ipf(8), ipfstat(8)