summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorduritong <peter.meier+github@immerda.ch>2016-08-03 00:55:47 +0200
committerGitHub <noreply@github.com>2016-08-03 00:55:47 +0200
commit6d78d6c7b5c7617077260c94d7158b61f430494e (patch)
tree05a44f1ae387a2cdee74a11d91af1b4826597292 /templates
parenteaba8159fcfc38dbc72e2476e753b05ea7554d55 (diff)
parent3b623df1f88adf2a177829dacae822dec2c3c7d0 (diff)
Merge pull request #5 from abraham1901/master
* 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 -%>