summaryrefslogtreecommitdiff
path: root/templates/monitor/nat/source/translations/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/monitor/nat/source/translations/node.def')
-rw-r--r--templates/monitor/nat/source/translations/node.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/monitor/nat/source/translations/node.def b/templates/monitor/nat/source/translations/node.def
new file mode 100644
index 0000000..7ded6c1
--- /dev/null
+++ b/templates/monitor/nat/source/translations/node.def
@@ -0,0 +1,4 @@
+help: Monitor active source NAT translations events
+run: LESSOPEN=cat
+ echo Type control-C to quit
+ sudo /usr/sbin/conntrack -E -n -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --pipe --type=source