{% extends "base.html" %} {% comment %} # # This file is part of FreedomBox. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # {% 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 %}