{% extends "base.html" %} {% comment %} # SPDX-License-Identifier: AGPL-3.0-or-later {% endcomment %} {% load i18n %} {% block content %}

{{ title }}

{% blocktrans trimmed %} {{ box_name }} will allow this client to connect to it. Ensure that the client is configured with the following information. {% endblocktrans %}

{% trans "Client public key:" %} {{ client.public_key }}
{% trans "IP address to use for client:" %} {{ client.allowed_ips|join:", " }}
{% trans "Pre-shared key:" %} {{ client.preshared_key }}
{% trans "Server endpoints:" %} {% for endpoint in endpoints %}
{{ endpoint }}
{% endfor %}
{% trans "Server public key:" %} {{ server.public_key }}

{% trans "Status" %}

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