summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-25 10:29:47 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-25 10:29:47 +0100
commit01b9a8598dabd391cc42da4c66d7a8067846b12b (patch)
treef7738a4ec2ca9ed64770a40eadfda497557c0873
parent082f6459f131d0af2fa7a4ef0cf3028238ecc3af (diff)
downloadvyatta-nat-01b9a8598dabd391cc42da4c66d7a8067846b12b.tar.gz
vyatta-nat-01b9a8598dabd391cc42da4c66d7a8067846b12b.zip
T2764: increase maximum number of NAT rules1.3.81.3.71.3.61.3.51.3.41.3.3-epa11.3.31.3.2equuleus
-rw-r--r--templates-cfg/nat/destination/rule/node.def6
-rw-r--r--templates-cfg/nat/source/rule/node.def6
2 files changed, 6 insertions, 6 deletions
diff --git a/templates-cfg/nat/destination/rule/node.def b/templates-cfg/nat/destination/rule/node.def
index c666be9..106db86 100644
--- a/templates-cfg/nat/destination/rule/node.def
+++ b/templates-cfg/nat/destination/rule/node.def
@@ -4,8 +4,8 @@ type: u32
help: Rule number for NAT
-syntax:expression: ($VAR(@) > 0 && $VAR(@) < 10000) ; \
- "Rule number must be between 1 and 9999."
+syntax:expression: ($VAR(@) > 0 && $VAR(@) <= 999999) ; \
+ "Rule number must be between 1 and 999999."
-val_help: u32:1-9999 ; Number for this NAT rule
+val_help: u32:1-999999 ; Number for this NAT rule
diff --git a/templates-cfg/nat/source/rule/node.def b/templates-cfg/nat/source/rule/node.def
index c666be9..106db86 100644
--- a/templates-cfg/nat/source/rule/node.def
+++ b/templates-cfg/nat/source/rule/node.def
@@ -4,8 +4,8 @@ type: u32
help: Rule number for NAT
-syntax:expression: ($VAR(@) > 0 && $VAR(@) < 10000) ; \
- "Rule number must be between 1 and 9999."
+syntax:expression: ($VAR(@) > 0 && $VAR(@) <= 999999) ; \
+ "Rule number must be between 1 and 999999."
-val_help: u32:1-9999 ; Number for this NAT rule
+val_help: u32:1-999999 ; Number for this NAT rule