summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2009-03-27 16:08:43 -0700
committerStig Thormodsrud <stig@vyatta.com>2009-03-27 16:08:43 -0700
commit754d0f4d855a59020afa20ad8867218708b5c978 (patch)
treef5bbcdad13c995aa79f16947efcb7937cb876dac /templates
parenta3185dcd028446ef14a96bca5ae0cf4a8333e99c (diff)
downloadvyatta-cfg-firewall-754d0f4d855a59020afa20ad8867218708b5c978.tar.gz
vyatta-cfg-firewall-754d0f4d855a59020afa20ad8867218708b5c978.zip
Allow user configurable default-policy on firewall.
Diffstat (limited to 'templates')
-rw-r--r--templates/firewall/name/node.tag/default-policy/node.def12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/firewall/name/node.tag/default-policy/node.def b/templates/firewall/name/node.tag/default-policy/node.def
new file mode 100644
index 0000000..a02a288
--- /dev/null
+++ b/templates/firewall/name/node.tag/default-policy/node.def
@@ -0,0 +1,12 @@
+type: txt
+
+help: Set firewall default-policy
+
+default: "drop"
+
+syntax:expression: $VAR(@) in "drop", "accept";
+ "default-policy must be either drop or accept"
+
+comp_help: possible completions:
+ drop Drop if no prior rules are hit
+ accept Accept if no prior rules are hit