source: MondoRescue/branches/3.3/ansible/roles/shorewall/templates/rules.j2@ 3655

Last change on this file since 3655 was 3655, checked in by Bruno Cornec, 7 years ago

New MondoRescue site managed with ansible now

File size: 1.6 KB
Line 
1# The manpage is also online at
2# http://www.shorewall.net/manpages/shorewall-rules.html
3#
4############################################################################################################################################
5########
6#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/ MARK CONNLIMIT TIME
7# PORT PORT(S) DEST LIMIT GROUP
8#SECTION ESTABLISHED
9#SECTION RELATED
10{% for s in shorewall_rules %}
11?SECTION {{ s.section }}
12{% for r in s.rules %}
13{{ r.action }} {% if r.source is defined %}{{ r.source }}{% else %}-{% endif %} {% if r.destination is defined %}{{ r.destination }}{% else %}-{% endif %} {% if r.protocol is defined %}{{ r.protocol }}{% else %}-{% endif %} {% if r.destination_port is defined %}{{ r.destination_port }}{% else %}-{% endif %} {% if r.source_port is defined %}{{ r.source_port }}{% else %}-{% endif %} {% if r.original_destination is defined %}{{ r.original_destination }}{% else %}-{% endif %} {% if r.rate_limit is defined %}{{ r.rate_limit }}{% else %}-{% endif %} {% if r.user_group is defined %}{{ r.user_group }}{% else %}-{% endif %} {% if r.mark is defined %}{{ r.mark }}{% else %}-{% endif %} {% if r.connection_limit is defined %}{{ r.connection_limit }}{% else %}-{% endif %} {% if r.time is defined %}{{ r.time }}{% else %}-{% endif %} {% if r.headers is defined %}{{ r.headers }}{% else %}-{% endif %} {% if r.switch is defined %}{{ r.switch }}{% else %}-{% endif %}
14
15{% endfor %}
16
17{% endfor %}
18#LAST LINE -- DO NOT REMOVE
Note: See TracBrowser for help on using the repository browser.