DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

ipnat(ADMN)


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(SFF), ipf(ADMN), ipfstat(TC)

Standards conformance

ipnat is not part of any currently supported standard. It is an extension of AT&T UNIX System V provided by The Santa Cruz Operation, Inc. It includes software developed by the University of California, Berkeley and its contributors.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003