ipnat man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

IPNAT(8)							      IPNAT(8)

NAME
       ipnat - user interface to the NAT subsystem

SYNOPSIS
       ipnat [ -dhlnrsvCF ] [ -M core ] [ -N system ] -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.

       Note that ipf(8) must be enabled (with ipf -E) before  NAT  is  config‐
       ured, as the same kernel facilities are used for NAT functionality.  In
       addition, packet forwarding must be enabled.  These details may be han‐
       dled  automatically  when  ipnat is run by rc at normal system startup.
       See options(4), sysctl(8), and rc.conf(5) for more information.

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

       -d     Enable printing of some extra debugging information.

       -F     delete all active entries in the current NAT  translation	 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 rather than add them to 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
       /usr/share/examples/ipf	Directory with examples.

DIAGNOSTICS
       ioctl(SIOCGNATS):  Input/output	error Ensure that the necessary kernel
       functionality is present and ipf enabled with ipf -E.

SEE ALSO
       ipnat(5), rc.conf(5), ipf(8), ipfstat(8)

								      IPNAT(8)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net