diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-19 11:25:49 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-19 11:25:49 -0800 |
commit | 561ec07cb56696b05f683a325098c06422d00f86 (patch) | |
tree | b35d1727c4de7775854948b862de652a78a0de44 /templates-op | |
download | vyatta-nat-561ec07cb56696b05f683a325098c06422d00f86.tar.gz vyatta-nat-561ec07cb56696b05f683a325098c06422d00f86.zip |
migrate NAT from fairfield to glendaleupstream
Diffstat (limited to 'templates-op')
-rw-r--r-- | templates-op/clear/nat/counters/node.def | 2 | ||||
-rw-r--r-- | templates-op/clear/nat/node.def | 1 | ||||
-rw-r--r-- | templates-op/clear/nat/translations/node.def | 2 | ||||
-rw-r--r-- | templates-op/show/nat/node.def | 1 | ||||
-rw-r--r-- | templates-op/show/nat/rules/node.def | 3 | ||||
-rw-r--r-- | templates-op/show/nat/statistics/node.def | 3 |
6 files changed, 12 insertions, 0 deletions
diff --git a/templates-op/clear/nat/counters/node.def b/templates-op/clear/nat/counters/node.def new file mode 100644 index 0000000..39a6ed5 --- /dev/null +++ b/templates-op/clear/nat/counters/node.def @@ -0,0 +1,2 @@ +help: Clear NAT counters +run: sudo iptables -Z -t nat diff --git a/templates-op/clear/nat/node.def b/templates-op/clear/nat/node.def new file mode 100644 index 0000000..aae6adc --- /dev/null +++ b/templates-op/clear/nat/node.def @@ -0,0 +1 @@ +help: Clear Network Address Translation tables diff --git a/templates-op/clear/nat/translations/node.def b/templates-op/clear/nat/translations/node.def new file mode 100644 index 0000000..0727cbd --- /dev/null +++ b/templates-op/clear/nat/translations/node.def @@ -0,0 +1,2 @@ +help: Clear NAT translations +run: sudo ${vyatta_sbindir}/vyatta-update-nat.pl clearnattranslations diff --git a/templates-op/show/nat/node.def b/templates-op/show/nat/node.def new file mode 100644 index 0000000..20ecd4d --- /dev/null +++ b/templates-op/show/nat/node.def @@ -0,0 +1 @@ +help: Show Network Address Translation information diff --git a/templates-op/show/nat/rules/node.def b/templates-op/show/nat/rules/node.def new file mode 100644 index 0000000..772e1b0 --- /dev/null +++ b/templates-op/show/nat/rules/node.def @@ -0,0 +1,3 @@ +help: Show configured NAT rule set +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-nat.pl \ + ${vyatta_datadir}/xsl/show_nat_rules.xsl diff --git a/templates-op/show/nat/statistics/node.def b/templates-op/show/nat/statistics/node.def new file mode 100644 index 0000000..b4fe23f --- /dev/null +++ b/templates-op/show/nat/statistics/node.def @@ -0,0 +1,3 @@ +help: Show statistics for configured NAT rules +run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-nat.pl \ + ${vyatta_datadir}/xsl/show_nat_statistics.xsl |