Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
IPNAT(1)                FreeBSD General Commands Manual               IPNAT(1)

NAME
       ipnat - user interface to the NAT

SYNOPSIS
       ipnat [ -lnrsvCF ] -f <filename>

DESCRIPTION
       ipnat 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.

       Each rule processed by ipnat 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
       ipnat.

OPTIONS
       -C     delete all entries in the current NAT rule listing (NAT rules)

       -F     delete all active entries in the current NAT translation table
              (currently active NAT mappings)

       -l     Show the list of current NAT table entry mappings.

       -n     This flag (no-change) prevents ipf from actually making any
              ioctl calls or doing anything which would alter the currently
              running kernel.

       -s     Retrieve and display NAT statistics

       -r     Remove matching NAT rules rather than add them to the internal
              lists

       -v     Turn verbose mode on.  Displays information relating to rule
              processing and active rules/table entries.

FILES
       /dev/ipnat

SEE ALSO
       ipnat(5), ipf(8), ipfstat(8)

                                                                      IPNAT(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | FILES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=ipnat&sektion=1&manpath=FreeBSD+5.2.1-RELEASE>

home | help