Statistics
| Branch: | Tag: | Revision:

root / templates / rule_expiration.txt @ cb0e212e

History | View | Annotate | Download (693 Bytes)

1
Rule {{route.name}} expires {% ifequal expiration_days 0 %}today{% else%}in {{expiration_days}} day{{ expiration_days|pluralize }}{% endifequal %}
2

    
3
Match
4
* Dst Addr:{{route.destination}}
5
* Src Addr: {{route.source}}
6
* Ports:{% for port in route.ports.all %}
7
  {{ port }}{% if not forloop.last %}, {% endif %}
8
{% endfor %}
9
* Source Ports:{% for port in route.sourceport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
10
* Destination Ports:{% for port in route.destinationport.all %}{{ port }}{% if not forloop.last %}, {% endif %}{% endfor %}
11

    
12
*Then:{% for then in route.then.all %}{{ then }}{% if not forloop.last %}, {% endif %}{% endfor %}
13

    
14
Visit {{url}} to edit the rule.