{% extends "base.html" %} {% comment %} # SPDX-License-Identifier: AGPL-3.0-or-later {% endcomment %} {% load i18n %} {% block content %} {% for peer in server.peers.values %} {% if forloop.first %}

{{ title }}

{% blocktrans trimmed %} {{ box_name }} will attempt to reach a WireGuard server with the following information. Ensure that the server is configured to allow {{ box_name }}'s public key and IP address. {% endblocktrans %}

{% trans "Server endpoint:" %} {{ peer.endpoint }}
{% trans "Server public key:" %} {{ peer.public_key }}
{% trans "Pre-shared key:" %} {{ peer.preshared_key }}
{% trans "Public key of this machine:" %} {{ server.public_key }}
{% trans "IP address of this machine:" %} {{ server.ip_address }}

{% trans "Status" %}

{% trans "Data transmitted:" %} {{ peer.status.transfer_tx|filesizeformat }}
{% trans "Data received:" %} {{ peer.status.transfer_rx|filesizeformat }}
{% trans "Latest handshake:" %} {{ peer.status.latest_handshake|default:'' }}
{% endif %} {% endfor %}
{% trans "Edit" %} {% trans "Delete" %}
{% endblock %}