home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

service nat destination rule <rule-number>

Defines a NAT destination rule number.

set service nat destination rule rule-number
delete service nat destination rule rule-number
show service nat destination rule rule-number
rule-number
Multi-node. The rule number for NAT that ranges from 1 through 9999.

Configuration mode

service {
    nat {
        destination {
            rule rule-number
        }
    }
}

Use this command to define a NAT rule number. The number argument defines the destination NAT rule. Destination NAT rules translate the destination IP address. Destination rules typically ingress from the untrusted to the trusted network. For destination NAT rules, the translation address typically defines an IP address inside the trusted network. This address is substituted for the original destination IP address in ingressing packets.

NAT rules are executed in numeric order. To allow insertion of more rules in the future, choose rule numbers in increments of ten, such as 10, 20, 30, 40, and so on. The numbers must be separated by a comma.

Use the set form of this command to define a NAT rule number.

Use the delete form of this command to remove a NAT rule number.

Use the show form of this command to view a NAT rule number.