summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil.baturin@vyatta.com>2011-11-24 06:49:27 +0700
committerDaniil Baturin <daniil.baturin@vyatta.com>2011-11-24 06:49:27 +0700
commit9aab442f2e7e56a5c9f9321aa7bd3e1008bb29b3 (patch)
treeab275f1759dd6c9a77b6f38d91b9ced8ee7b22e3
parent3b87a98f47e6864d3f9814b726e5f9c06abb3420 (diff)
downloadvyatta-nat-9aab442f2e7e56a5c9f9321aa7bd3e1008bb29b3.tar.gz
vyatta-nat-9aab442f2e7e56a5c9f9321aa7bd3e1008bb29b3.zip
Rename "inside-address" and "outside-address" to "translation"
-rw-r--r--templates-cfg/nat/destination/rule/node.tag/translation/address/node.def7
-rw-r--r--templates-cfg/nat/destination/rule/node.tag/translation/node.def1
-rw-r--r--templates-cfg/nat/destination/rule/node.tag/translation/port/node.def6
-rw-r--r--templates-cfg/nat/source/rule/node.tag/translation/address/node.def8
-rw-r--r--templates-cfg/nat/source/rule/node.tag/translation/node.def1
-rw-r--r--templates-cfg/nat/source/rule/node.tag/translation/port/node.def6
6 files changed, 29 insertions, 0 deletions
diff --git a/templates-cfg/nat/destination/rule/node.tag/translation/address/node.def b/templates-cfg/nat/destination/rule/node.tag/translation/address/node.def
new file mode 100644
index 0000000..a00b483
--- /dev/null
+++ b/templates-cfg/nat/destination/rule/node.tag/translation/address/node.def
@@ -0,0 +1,7 @@
+type: txt
+
+help: Inside IP address or range for NAT
+
+val_help: ipv4 ; NAT to the specified IP address
+val_help: ipv4range ; NAT to the specified IP range
+val_help: ipv4net ; NAT to the specified network address. Host part of the address will remain unchanged
diff --git a/templates-cfg/nat/destination/rule/node.tag/translation/node.def b/templates-cfg/nat/destination/rule/node.tag/translation/node.def
new file mode 100644
index 0000000..e13cd32
--- /dev/null
+++ b/templates-cfg/nat/destination/rule/node.tag/translation/node.def
@@ -0,0 +1 @@
+help: Inside NAT IP (used by destination NAT only)
diff --git a/templates-cfg/nat/destination/rule/node.tag/translation/port/node.def b/templates-cfg/nat/destination/rule/node.tag/translation/port/node.def
new file mode 100644
index 0000000..ab6f9d4
--- /dev/null
+++ b/templates-cfg/nat/destination/rule/node.tag/translation/port/node.def
@@ -0,0 +1,6 @@
+type: txt
+
+help: Inside port
+
+val_help: u32:1-65535 ; Numbered port
+val_help: <start>-<end> ; Numbered port range (e.g., 1001-1005)
diff --git a/templates-cfg/nat/source/rule/node.tag/translation/address/node.def b/templates-cfg/nat/source/rule/node.tag/translation/address/node.def
new file mode 100644
index 0000000..24bf89c
--- /dev/null
+++ b/templates-cfg/nat/source/rule/node.tag/translation/address/node.def
@@ -0,0 +1,8 @@
+type: txt
+
+help: Outside IP address or range for NAT
+
+val_help: ipv4 ; NAT to the specified IP address
+val_help: ipv4range ; NAT to the specified IP range
+val_help: ipv4net ; NAT to the specified network address. Host part of the address will remain unchanged
+val_help: masquerade ; NAT to the primary address of outbound-interface \ No newline at end of file
diff --git a/templates-cfg/nat/source/rule/node.tag/translation/node.def b/templates-cfg/nat/source/rule/node.tag/translation/node.def
new file mode 100644
index 0000000..b8e1e19
--- /dev/null
+++ b/templates-cfg/nat/source/rule/node.tag/translation/node.def
@@ -0,0 +1 @@
+help: Outside NAT IP (used by source NAT only)
diff --git a/templates-cfg/nat/source/rule/node.tag/translation/port/node.def b/templates-cfg/nat/source/rule/node.tag/translation/port/node.def
new file mode 100644
index 0000000..8e3b331
--- /dev/null
+++ b/templates-cfg/nat/source/rule/node.tag/translation/port/node.def
@@ -0,0 +1,6 @@
+type: txt
+
+help: Outside port
+
+val_help: u32:1-65535 ; Numbered port
+val_help: <start>-<end> ; Numbered port range (e.g., 1001-1005)