rule-set (Source NAT)

Syntax

rule-set rule-set-name {from interface [interface-name] | routing-instance [routing-instance-name] | zone [zone-name];rule rule-name {match {destination-address [destination-address];source-address [source-address];}then {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 );}}}to interface [interface-name] | routing-instance [routing-instance-name] | zone [zone-name];}

Hierarchy Level

[edit security nat source]

Release Information

Statement modified in Release 9.6 of Junos OS.

Description

Configure the set of rules for source NAT.

Options

rule-set-name —Name of the rule set.

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-control—To add this statement to the configuration.