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 | |
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')
-rw-r--r-- | templates-op/show/nat/translations/monitor/detail/node.def | 4 | ||||
-rw-r--r-- | templates-op/show/nat/translations/monitor/node.def | 4 |
2 files changed, 8 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 diff --git a/templates-op/show/nat/translations/monitor/node.def b/templates-op/show/nat/translations/monitor/node.def new file mode 100644 index 0000000..ed8786f --- /dev/null +++ b/templates-op/show/nat/translations/monitor/node.def @@ -0,0 +1,4 @@ +help: Show active NAT translations events +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 |