summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/monitor/nat/destination/translations/node.def2
-rw-r--r--templates/monitor/nat/source/translations/node.def4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/monitor/nat/destination/translations/node.def b/templates/monitor/nat/destination/translations/node.def
index d6ad6f5..f1f593d 100644
--- a/templates/monitor/nat/destination/translations/node.def
+++ b/templates/monitor/nat/destination/translations/node.def
@@ -1,4 +1,4 @@
help: Monitor active destination NAT translations events
run: LESSOPEN=cat
echo Type control-C to quit
- sudo /usr/sbin/conntrack -E -g -o xml 2>/dev/null | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --pipe --type=destination
+ sudo /usr/sbin/conntrack --dst-nat --event
diff --git a/templates/monitor/nat/source/translations/node.def b/templates/monitor/nat/source/translations/node.def
index 7ded6c1..e458848 100644
--- a/templates/monitor/nat/source/translations/node.def
+++ b/templates/monitor/nat/source/translations/node.def
@@ -1,4 +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
+ echo Type control-C to quit
+ sudo /usr/sbin/conntrack --src-nat --event