[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

ipnat

User interface to Network Address Translation (NAT)


Note: This utility is available only in the Extended Networking Technology Development Kit (TDK).

Syntax:

ipnat [-lnrsvCF] -f [filename]

Options:

-C
Delete all entries in the current NAT (Network Address Translation) rule listing.
-F
Delete all active entries in the current NAT translation table.
-l
("el") Show the list of current NAT table entry mappings.
-n
Prevent ipnat from calling ioctl or doing anything that alters the running TCP/IP stack.
-r
Remove matching NAT rules instead of adding them to the internal lists.
-s
Retrieve and display NAT statistics.
-v
Turn verbose mode on. Display information relating to rule processing and active rules/table entries.

Description:

The ipnat utility opens the given filename (treating "-" as stdin) and parses the file for a set of rules to be added or removed from the IP NAT.

Each rule processed by ipnat is added to the TCP/IP stack's 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.

Files

/dev/ipnat

See also:

ipf, ipfs, ipfstat, ipmon, lsm-ipfilter-*.so

"Setting up a firewall" in the Securing Your System chapter of the Neutrino User's Guide


[Previous] [Contents] [Index] [Next]