DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

ipnat (ADMN)




NAME

     ipnat - user interface to the NAT subsystem


SYNOPSIS

     ipnat [ -CFhlnrRsv ] [ -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  inter-
     nal 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.

     Note that if ipf(ADMN) is not enabled when NAT is configured,
     it will be enabled automatically, as the same kernel facili-
     ties are used for NAT functionality.   In  addition,  packet
     forwarding must be enabled.


OPTIONS

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

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

     -h   Print number of hits for each MAP/Redirect filter.

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

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

     -R   Remove all NAT rules from the internal lists

     -s   Retrieve and display NAT statistics

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


FILES

     /dev/ipnat


SEE ALSO

     ipnat(ADMP), ipf(ADMN), ipfstat(TC)

Man(1) output converted with man2html