source-nat

Syntax

source-nat (off | interface | pool pool-name);persistent-nat {address-mapping;inactivity-timeout seconds;max-session-number number;permit ( any-remote-host | target-host | target-host-port );}

Hierarchy Level

[edit security nat source rule-set rule-set-name rule rule-name then]

Release Information

Statement modified in Release 9.6 of Junos OS.

Description

Specify the action of the source NAT rule.

Options

off — Do not perform the source NAT operation.

interface — Use egress interface IP address to perform the source NAT.

pool — Use user-defined source NAT pool to perform the source NAT.

The remaining statements are explained separately.

Usage Guidelines

For configuration instructions and examples, see the Junos OS Security Configuration Guide.

Required Privilege Level

security — To view this statement in the configuration.

security-contro l— To add this statement to the configuration.