21 lines
925 B
Django/Jinja
21 lines
925 B
Django/Jinja
#
|
|
# Shorewall - Sample Policy File for one-interface configuration.
|
|
# Copyright (C) 2006-2015 by the Shorewall Team
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
# License as published by the Free Software Foundation; either
|
|
# version 2.1 of the License, or (at your option) any later version.
|
|
#
|
|
# See the file README.txt for further details.
|
|
#-----------------------------------------------------------------------------
|
|
# For information about entries in this file, type "man shorewall-policy"
|
|
###############################################################################
|
|
#SOURCE DEST POLICY LOG LEVEL LIMIT:BURST
|
|
{% for policy in shorewall_policies %}
|
|
{{ policy['source'] }} {{ policy['dest'] }} {{ policy['policy'] }} {{ policy['log_level']|default('') }}
|
|
{% endfor %}
|
|
|
|
# The FOLLOWING POLICY MUST BE LAST
|
|
all all REJECT info
|