{% extends 'base.html' %} {% block page_custom_head %} {% endblock%} {% block content %}
{% include "firewall/firewall_nav_tabs.html" %}
{% for rule in firewall_rule_list %} {% comment%} {% endcomment %} {% endfor %}
# In Out Source Destination Protocol Port State Action
{{ rule.sort_order }} {% if rule.description %}{% endif %} {{ rule.in_interface }} {{ rule.out_interface }} {% if rule.source_ip %}{% if rule.not_source %}! {% endif %}{{ rule.source_ip }}/{{ rule.source_netmask }}
{% endif%} {% for peer in rule.source_peer.all %}{% if rule.not_source %}! {% endif %}{{ peer }}{% if rule.source_peer_include_networks %} +{% endif %}
{% endfor %}
{% if rule.destination_ip %}{% if rule.not_destination %}! {% endif %}{{ rule.destination_ip }}/{{ rule.destination_netmask }}
{% endif%} {% for peer in rule.destination_peer.all %}{% if rule.not_destination %}! {% endif %}{{ peer }}{% if rule.destination_peer_include_networks %} +{% endif %}
{% endfor %}
{{ rule.get_protocol_display }} {{ rule.destination_port }} {% if rule.state_new %}{% if rule.not_state %}! {% endif %}New
{% endif %} {% if rule.state_related %}{% if rule.not_state %}! {% endif %}Related
{% endif %} {% if rule.state_established %}{% if rule.not_state %}! {% endif %}Established
{% endif %} {% if rule.state_invalid %}{% if rule.not_state %}! {% endif %}Invalid
{% endif %} {% if rule.state_untracked %}{% if rule.not_state %}! {% endif %}Untracked
{% endif %}
{{ rule.get_rule_action_display }}{{ rule. }}
Create Firewall Rule
{% endblock %} {% block custom_page_scripts %} {% comment %} {% endcomment %} {% endblock %}