{% extends "base.html" %} {% comment %} # SPDX-License-Identifier: AGPL-3.0-or-later {% endcomment %} {% load i18n %} {% load extras %} {% 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" %}
{% trans "Name" %} {{ client.name }}
{% trans "Public Key" %} {{ client.public_key }}
{% trans "Private Key" %} {% trans "(Not stored on server)" %}
{% trans "IP Addresses" %} {{ client.allowed_ips|join:", " }}
{% trans "Pre-shared Key" %} {{ client.preshared_key }}
{% trans "DNS Server" %} {{ server.ipv4_address }}
{% blocktrans trimmed %} {{ box_name }} Server {% endblocktrans %} {{ server.ipv4_address }}, {{ server.ipv6_address }}
{% trans "Server/Peer" %}
{% trans "Public Key" %} {{ server.public_key }}
{% trans "Endpoint(s)" %} {% for endpoint in endpoints %}
{{ endpoint }}
{% endfor %}
{% trans "Allowed IPs" %} 0.0.0.0/0, ::0/0

{% 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:'' }}
{% icon 'pencil-square-o' %} {% trans "Edit" %} {% icon 'trash-o' %} {% trans "Delete" %}
{% endblock %}