20 lines
936 B
Django/Jinja
20 lines
936 B
Django/Jinja
#
|
|
# Shorewall - Sample shorewall_interfaces 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-interfaces"
|
|
###############################################################################
|
|
?FORMAT 2
|
|
###############################################################################
|
|
#ZONE INTERFACE OPTIONS
|
|
|
|
{% for interface in shorewall_interfaces %}
|
|
{{ interface['zone'] }} {{ interface['name'] }} {{ interface['options']|join(',') }}
|
|
{% endfor %} |