address-mapping
Syntax
address-mapping;
Hierarchy Level
[edit logical-systems name security nat source rules-set name rule name then source-nat], [edit logical-systems name tenants name security nat source rule name then source-nat], [edit security nat source rule-set ruleset rule rule then source-nat interface persistent-nat], [edit services nat source rule-set name rule name then source-nat], [edit tenants name security nat source rule-set name rule name then source nat]
Description
Allows requests from a specific internal IP address to be mapped to the same reflexive IP address (the public IP address created by the NAT device closest to the STUN server); internal and external ports can be any ports. An external host using any port can send a packet to the internal host by sending the packet to the reflexive IP address (with a configured incoming policy that allows external to internal traffic). If this option is not configured, the persistent NAT binding is for specific internal and reflexive transport addresses.
You can only specify this option when the persistent
NAT type is any-remote-host
and the source NAT rule action
is one of the following:
Source NAT pool with IP address shifting
Source NAT pool with no port translation and no overflow pool
Required Privilege Level
security
—To view this statement
in the configuration.
security-control
—To add this statement to the
configuration
Release Information
Statement introduced in Junos OS Release 10.2.