User interface to NAT
ipnat [-lnrsvCF] -f [filename]
- Delete all entries in the current NAT (Network Address translation) rule listing.
- Delete all active entries in the current NAT translation table.
- Show the list of current NAT table entry mappings.
- Prevent ipnat from calling ioctl or doing
anything that alters the running kernel.
- Retrieve and display NAT statistics.
- Remove matching NAT rules rather than add them to
the internal lists.
- Turn verbose mode on. Display information relating to rule processing and
active rules/table entries.
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 kernel'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.