port-forwarding (Destination NAT Next Gen Services)
Syntax
port-forwarding map-name { destined-port port-id translated-port port-id; }
Hierarchy Level
[edit services nat destination]
Description
Configure a port forwarding map, which translates the original destination port of a packet to a different port. This translation is a static, one-to-one mapping.
Port forwarding allows a packet to reach a host within a masqueraded, typically private, network, based on the port number on which the packet was received from the originating host. An example of this type of destination is the host of a public HTTP server within a private network.
Options
map-name | Name of the port forwarding map. |
destined-port port-id | Original destination port number. |
translated-port port-id | Port number to which the original port is mapped. |
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.