summaryrefslogtreecommitdiff
path: root/templates-cfg/nat/nptv6/rule/node.def
diff options
context:
space:
mode:
authorkouak <kouak@kouak.org>2015-02-15 22:37:14 +0100
committerkouak <kouak@kouak.org>2015-02-15 22:37:14 +0100
commit9571f0e592088c49c6c16724c5124631326066fd (patch)
tree89fe54ea2a5232496e32524c4dd99f5f8ae0ee10 /templates-cfg/nat/nptv6/rule/node.def
parent9ee62f2e55cd83110c5964c020233c0c983154a0 (diff)
downloadvyatta-nat-9571f0e592088c49c6c16724c5124631326066fd.tar.gz
vyatta-nat-9571f0e592088c49c6c16724c5124631326066fd.zip
Add initial support for NPTv6 (#387)
Diffstat (limited to 'templates-cfg/nat/nptv6/rule/node.def')
-rw-r--r--templates-cfg/nat/nptv6/rule/node.def11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates-cfg/nat/nptv6/rule/node.def b/templates-cfg/nat/nptv6/rule/node.def
new file mode 100644
index 0000000..c666be9
--- /dev/null
+++ b/templates-cfg/nat/nptv6/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
+