add nat-rule

Description

Adds a new manual NAT (translation of source/destination/service) rule to the NAT Rule Base.

Syntax

add nat-rule [ original-source <original-source> ] [ original-destination <original-destination> ] [ original-service <original-service> ] [ translated-source <translated-source> ] [ translated-destination <translated-destination> ] [ translated-service <translated-service> ] [ comment <comment> ] [ hide-sources <hide-sources> ] [ enable-arp-proxy <enable-arp-proxy> ] [ { position <position> | position-above <position-above> | position-below <position-below> } ] [ name <name> ]

Parameters

Parameter

Description

comment

Comment for manual NAT rule

Type: A string that contains less than 257 characters, of this set: 0-9, a-z or , . - : () @

enable-arp-proxy

The gateway will reply to ARP requests sent to the original destination's IP address (Does not apply to IP ranges/networks) Type: Boolean (true/false)

hide-sources

Hide multiple sources behind the translated source addresses

Type: Boolean (true/false)

name

name

Type: A string of alphanumeric characters without space between them

original-destination

Original destination of rule

original-service

Original service of rule

original-source

Original source of rule

position

The order of the rule in comparison to other manual rules

Type: Decimal number

position-above

The order of the rule in comparison to other manual rules

Type: Decimal number

position-below

The order of the rule in comparison to other manual rules

Type: Decimal number

translated-destination

Translated destination of rule

translated-service

Translated service of rule

translated-source

Translated source of rule

Example

add nat-rule original-source TEXT original-destination TEXT original-service TEXT translated-source TEXT translated-destination TEXT translated-service TEXT comment "This is a comment." hide-sources true enable-arp-proxy true position 2 name word