diff options
author | Stig Thormodsrud <stig@io.vyatta.com> | 2008-10-31 14:23:43 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@io.vyatta.com> | 2008-10-31 14:23:43 -0700 |
commit | 69153fc9f6dcaa59e95847214fbab18f43992682 (patch) | |
tree | d690831b6dde0db8c99826bf281242c9d3b23630 /templates-op/show/nat/translations/monitor/detail | |
parent | b83d5949749c5bceceefcd1dbe53fb5ee596089b (diff) | |
download | vyatta-nat-69153fc9f6dcaa59e95847214fbab18f43992682.tar.gz vyatta-nat-69153fc9f6dcaa59e95847214fbab18f43992682.zip |
Fix "show nat translation monitor" to work with both snat & dnat.
Diffstat (limited to 'templates-op/show/nat/translations/monitor/detail')
-rw-r--r-- | templates-op/show/nat/translations/monitor/detail/node.def | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates-op/show/nat/translations/monitor/detail/node.def b/templates-op/show/nat/translations/monitor/detail/node.def new file mode 100644 index 0000000..e96aa6f --- /dev/null +++ b/templates-op/show/nat/translations/monitor/detail/node.def @@ -0,0 +1,4 @@ +help: Show active NAT translations events verbose +run: LESSOPEN=cat + echo Type control-C to quit + sudo /usr/sbin/conntrack -E -n -g -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --pipe --verbose
\ No newline at end of file |