Pathfinder Applications
Note: † Internal applications are hidden from customers and partners. This is visible to you because you have logged into HPEs internal network.
Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Example: Configuring Twice NAT
In the following configuration, term1 configures source address translation and destination address translation for traffic to a specific destination address from a source address in a range of source addresses. Both destination and source pools are configured.
[edit services nat]rule twice-nat {match-direction input;term my-term1 {from {destination-address {41.41.41.41/32;}source-address-range {low 10.58.254.34 high 10.58.254.35;}}then {translated {source-pool src-pool;destination-pool dst_pool;translation-type {source static;destination static;}}}}}
![]() | Note: Starting with Junos OS Release 11.2, the translation types destination static and source static are deprecated. However, these statements will continue to be supported until Junos OS Release 11.4. Therefore, you can continue to configure Twice NAT using these deprecated statements. The new statement for configuring Twice NAT will be introduced in a future release. |
