summaryrefslogtreecommitdiff
path: root/templates-cfg/nat/source/rule/node.def
diff options
context:
space:
mode:
authorDaniil Baturin <daniil.baturin@vyatta.com>2011-09-13 22:26:03 +0700
committerDaniil Baturin <daniil.baturin@vyatta.com>2011-09-13 22:26:03 +0700
commitdb4e4cfaca840240298811805d2a572f5663c7f9 (patch)
treeadae701d04f3bad20a07fe0c1f583fff81e0af0d /templates-cfg/nat/source/rule/node.def
parent807e14f5ce64f87b2858f003e8c597154c2c2dfa (diff)
downloadvyatta-nat-db4e4cfaca840240298811805d2a572f5663c7f9.tar.gz
vyatta-nat-db4e4cfaca840240298811805d2a572f5663c7f9.zip
Add templates for source NAT
Diffstat (limited to 'templates-cfg/nat/source/rule/node.def')
-rw-r--r--templates-cfg/nat/source/rule/node.def11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates-cfg/nat/source/rule/node.def b/templates-cfg/nat/source/rule/node.def
new file mode 100644
index 0000000..c666be9
--- /dev/null
+++ b/templates-cfg/nat/source/rule/node.def
@@ -0,0 +1,11 @@
+tag:
+
+type: u32
+
+help: Rule number for NAT
+
+syntax:expression: ($VAR(@) > 0 && $VAR(@) < 10000) ; \
+ "Rule number must be between 1 and 9999."
+
+val_help: u32:1-9999 ; Number for this NAT rule
+