summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLebedev Vadim <abraham1901@gmail.com>2014-03-17 02:31:09 +0400
committerLebedev Vadim <abraham1901@gmail.com>2014-03-17 02:31:09 +0400
commit8ab86e291a3575ae69363c4318fb2222c69dd8a5 (patch)
tree13bcd61f4b102b1844edd32f8bf43d467b6a1aaf /templates
parent3d574e179953fc5868b0cd0e972a0dd9b9bda5de (diff)
* Add shorewall-blrules support
Diffstat (limited to 'templates')
-rw-r--r--templates/blrules.erb15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/blrules.erb b/templates/blrules.erb
new file mode 100644
index 0000000..4c9af79
--- /dev/null
+++ b/templates/blrules.erb
@@ -0,0 +1,15 @@
+#
+# Shorewall version 4.4 - Rule-based Blacklisting
+#
+# For information about entries in this file, type "man shorewall-blrules"
+#
+# Please see http://shorewall.net/blacklisting_support.htm for additional
+# information.
+#
+###############################################################################
+<% @whitelists.each do |value| -%>
+WHITELIST <%= value %>
+<% end -%>
+<% @drops.each do |value| -%>
+REJECT <%= value %>
+<% end -%>