Changeset - da362b930a68
[Not reviewed]
default
0 2 0
Branko Majic (branko) - 11 years ago 2013-05-25 11:44:14
branko@majic.rs
Changed default policy for generated iptables rules for INPUT and FORWARD chain to DROP. Changed administration link to point to Conntrackt-specific admin page.
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
conntrackt/templates/conntrackt/entity_iptables.html
Show inline comments
 
{% load conntrackt_tags %}
 
# iptables rules generated by conntrackt for {{entity}}
 
*filter
 
:INPUT ACCEPT [0:0]
 
:INPUT DROP [0:0]
 
{% for interface in entity.interface_set.all %}
 
  {% for communication in interface.destination_set.all %}
 
    {% ifchanged communication.description %}
 
@@ -15,7 +15,7 @@
 
{% iptables communication %}
 
  {% endfor %}
 
{% endfor %}
 
:FORWARD ACCEPT [0:0]
 
:FORWARD DROP [0:0]
 
:OUTPUT ACCEPT [0:0]
 
COMMIT
 
*nat
conntrackt/templates/conntrackt/template.html
Show inline comments
 
@@ -31,7 +31,7 @@
 
              {% block header %}
 
            <ul class="nav">
 
              <li class="{% active_link 'index' %}"><a href="{% url "index" %}"><i class="icon-home icon-white"></i> Main Page</a></li>
 
              <li class="{% active_link 'admin' %}"><a href="{% url "admin:index" %}"><i class="icon-wrench icon-white"></i> Administration</a></li>
 
              <li class="{% active_link 'admin' %}"><a href="{% url "admin:app_list" "conntrackt" %}"><i class="icon-wrench icon-white"></i> Administration</a></li>
 
            </ul>
 
            <ul class="nav pull-right">
 
              {% if user.is_anonymous %}
0 comments (0 inline, 0 general)