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 destination rule <rule-number> log

Enables logging of entries for matches with a NAT destination rule.

set service nat destination rule rule-number log
delete service nat destination rule rule-number log
show service nat destination rule rule-number log

Log entries are not generated for matched rules.

rule-number
The numeric identifier of a rule. The identifier ranges from 1 through 9999.

Configuration mode

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

Use care when enabling this feature because it can create very large log files and quickly fill a disk.

Use the set form of this command to enable logging of entries for matches with a NAT destination rule.

Use the delete form of this command to restore the default NAT logging, that is, the logging of NAT destination entries is not generated.

Use the show form of this command to view the state of NAT logging.