summaryrefslogtreecommitdiff
path: root/templates-op/show/nat/translations/destination
diff options
context:
space:
mode:
Diffstat (limited to 'templates-op/show/nat/translations/destination')
-rw-r--r--templates-op/show/nat/translations/destination/address/node.def1
-rw-r--r--templates-op/show/nat/translations/destination/address/node.tag/node.def11
-rw-r--r--templates-op/show/nat/translations/destination/detail/node.def3
-rw-r--r--templates-op/show/nat/translations/destination/monitor/detail/node.def4
-rw-r--r--templates-op/show/nat/translations/destination/monitor/node.def4
-rw-r--r--templates-op/show/nat/translations/destination/node.def2
6 files changed, 0 insertions, 25 deletions
diff --git a/templates-op/show/nat/translations/destination/address/node.def b/templates-op/show/nat/translations/destination/address/node.def
deleted file mode 100644
index f103fe4..0000000
--- a/templates-op/show/nat/translations/destination/address/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Show active NAT destination translations for an IP address
diff --git a/templates-op/show/nat/translations/destination/address/node.tag/node.def b/templates-op/show/nat/translations/destination/address/node.tag/node.def
deleted file mode 100644
index 0ae5846..0000000
--- a/templates-op/show/nat/translations/destination/address/node.tag/node.def
+++ /dev/null
@@ -1,11 +0,0 @@
-help: Show active NAT destination translations for an IP address
-allowed: echo -n '<x.x.x.x>'
-run: if /opt/vyatta/sbin/vyatta-validate-type.pl -q ipv4 $6
- then
- sudo ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl \
- --mode=dnat \
- --verbose \
- --ipaddr="$6"
- else
- echo "Invalid IP address"
- fi
diff --git a/templates-op/show/nat/translations/destination/detail/node.def b/templates-op/show/nat/translations/destination/detail/node.def
deleted file mode 100644
index 90990f2..0000000
--- a/templates-op/show/nat/translations/destination/detail/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Show active NAT destination translations detail
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat \
- --verbose
diff --git a/templates-op/show/nat/translations/destination/monitor/detail/node.def b/templates-op/show/nat/translations/destination/monitor/detail/node.def
deleted file mode 100644
index 2f9dd00..0000000
--- a/templates-op/show/nat/translations/destination/monitor/detail/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Show active NAT destination translations events detail
-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 --mode=dnat --pipe --verbose
diff --git a/templates-op/show/nat/translations/destination/monitor/node.def b/templates-op/show/nat/translations/destination/monitor/node.def
deleted file mode 100644
index 383f880..0000000
--- a/templates-op/show/nat/translations/destination/monitor/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-help: Show active NAT destination 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 --mode=dnat --pipe
diff --git a/templates-op/show/nat/translations/destination/node.def b/templates-op/show/nat/translations/destination/node.def
deleted file mode 100644
index 347b034..0000000
--- a/templates-op/show/nat/translations/destination/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Show active NAT destination translations
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat