{% extends "base.html" %} {% block content %}

Configuration du VPN

Statut

{% if object.comment %} {% if object.comment|length < 24 %}{% endif %}
Identifiant {{object.login}}
Générer un nouveau mot de passe
Commentaire {% else %}{% endif %}{{object.comment}}
{% if object.activated %}Ce VPN est actif{% else %}Ce VPN est inactif{% endif %}

Adresses IP

Sous-réseaux {% if object.ipv4_endpoint or object.ipv6_endpoint %}
    {% for subnet in object.administrative_subscription.ip_subnet.all %}
  • {{ subnet }}
  • {% endfor %}
{% else %}Aucune adresse{% endif %}
Sorties {% if object.ipv4_endpoint or object.ipv6_endpoint %}
    {% if object.ipv4_endpoint %}
  • {{ object.ipv4_endpoint }}
  • {% endif %} {% if object.ipv6_endpoint %}
  • {{ object.ipv6_endpoint }}
  • {% endif %}
{% else %}Aucune adresse{% endif %}
{% endblock %}