Use the ipnat utility to view and load NAT rules. The default NAT rules file
is /etc/opt/ipf/ipnat.conf.
Syntax |
 |
ipnat <options> <full path name>
Options |
 |
-f
Reads rules from a specified rules file.
-l
Views NAT rules and active mappings.
-C
Flushes the current ruleset.
-F
Removes active mappings.
-r
Removes rules from the NAT rules file.
Example |
 |
Enter the following command:
ipnat -CF -f /etc/opt/ipf/ipnat.conf
This command flushes any existing NAT rules and removes any
active mappings, then loads the NAT rules in the ipnat.conf file.