[an error occurred while processing this directive][an error occurred while processing this directive]

rule

Syntax

rule rule-name {match-direction (input | output);term term-name {from {application-sets set-name;applications [ application-names ];destination-address (address | any-unicast) <except>;destination-address-range low minimum-value high maximum-value <except>;source-address (address | any-unicast) <except>;source-address-range low minimum-value high maximum-value <except>;}then {no-translation;translated {address-pooling paired;destination-pool nat-pool-name;filtering-type endpoint-independent;mapping-type endpoint-independent;destination-prefix destination-prefix;overload-pool overload-pool;overload-prefix overload-prefix;source-pool nat-pool-name;source-prefix source-prefix;translation-type {source (dynamic | static);destination (dynamic | static);}}syslog;}}}

Hierarchy Level

[edit services nat],[edit services nat rule-set rule-set-name]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Specify the rule the router uses when applying this service.

Options

rule-name—Identifier for the collection of terms that comprise this rule.

Usage Guidelines

See Configuring NAT Rules.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.


Published: 2010-04-28

[an error occurred while processing this directive]