-
Notifications
You must be signed in to change notification settings - Fork 1
/
macro.j2
19 lines (17 loc) · 880 Bytes
/
macro.j2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# {{ ansible_managed }}
{% import 'j2macros.j2' as _tpl with context %}
#
# Shorewall 5 - {{ item.desc | default(item.name) }}
#
# /etc/shorewall/macro.{{ item.name }}
#
# For information about entries in this file see https://shorewall.org/Macros.html
#
#######################################################################################################
# DO NOT REMOVE THE FOLLOWING LINE
##############################################################################################################################################################
#ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST RATE USER MARK CONNLIMIT TIME HEADERS SWITCH HELPER
{% for rule in item.rules %}
{{ _tpl.print_macro(_rule) }}
{% endfor %}
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE