Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

service nat source rule <rule-number> exclude

Creates an exclusion rule, which excludes from address translation packets that match this source rule.

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

Configuration mode

service {
    nat {
        source {
            rule rule-number {
                exclude
            }
        }
    }
}

Use this command to create an exclusion rule, which excludes from address translation packets that match this rule. Exclusion can be used in scenarios in which certain types of traffic (for example, VPN traffic) should not be translated.

Use the set form of this command to specify that packets matching this rule are excluded from NAT.

Use the delete form of this command to remove an exclusion rule.

Use the show form of this command to view an exclusion rule.