Static port forwards

In classic CLI, NAT Static Port Forwards (SPFs) can be managed through configuration or with a tools command. In the MD-CLI and NETCONF, a tools command manages SPFs.

If the tools command is configured to manage SPFs and preserve SPFs across reboots, then persistency of the SPF must be enabled with the configure system persistence nat-port-forwarding command for both classic CLI and MD-CLI. With persistency enabled, SPF configuration is stored on the compact flash.

The following are command syntax and sample configuration for Large Scale NAT (LSN):

If the following optional fields are not explicitly configured, the system selects them automatically:
port number
for the source port
outside-ip ipv4-address
for the outside IP address
outside-port number
for the outside port
nat-policy string
for the NAT policy