From 9aab442f2e7e56a5c9f9321aa7bd3e1008bb29b3 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 24 Nov 2011 06:49:27 +0700 Subject: Rename "inside-address" and "outside-address" to "translation" --- .../nat/destination/rule/node.tag/translation/address/node.def | 7 +++++++ templates-cfg/nat/destination/rule/node.tag/translation/node.def | 1 + .../nat/destination/rule/node.tag/translation/port/node.def | 6 ++++++ .../nat/source/rule/node.tag/translation/address/node.def | 8 ++++++++ templates-cfg/nat/source/rule/node.tag/translation/node.def | 1 + templates-cfg/nat/source/rule/node.tag/translation/port/node.def | 6 ++++++ 6 files changed, 29 insertions(+) create mode 100644 templates-cfg/nat/destination/rule/node.tag/translation/address/node.def create mode 100644 templates-cfg/nat/destination/rule/node.tag/translation/node.def create mode 100644 templates-cfg/nat/destination/rule/node.tag/translation/port/node.def create mode 100644 templates-cfg/nat/source/rule/node.tag/translation/address/node.def create mode 100644 templates-cfg/nat/source/rule/node.tag/translation/node.def create mode 100644 templates-cfg/nat/source/rule/node.tag/translation/port/node.def (limited to 'templates-cfg/nat') 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: - ; 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: - ; Numbered port range (e.g., 1001-1005) -- cgit v1.2.3