{% extends "base.html" %} {% block title %}{{ peer.name }} - WireGuard Admin{% endblock %} {% block breadcrumbs %}/ Peers / {{ peer.name }}{% endblock %} {% block content %}

{{ peer.name }}

Details

Address
{{ peer.address }}
Public key
{{ peer.public_key }}
Enabled
{% if peer.enabled %} yes {% else %} no {% endif %}
Created
{{ peer.created_at.strftime("%Y-%m-%d %H:%M") }}
{% if peer.expires_at %}
Expires
{{ peer.expires_at.strftime("%Y-%m-%d %H:%M") }}
{% endif %}
Usage
{{ peer.cum_total | fmt_bytes }} {% if peer.quota_bytes %} / {{ peer.quota_bytes | fmt_bytes }} {% if peer.over_quota %} over quota {% endif %} {% endif %}

Live status

{% if peer_status %}
Status
{% if peer_status.online %} online {% else %} offline {% endif %}
Endpoint
{{ peer_status.endpoint or "-" }}
Handshake
{{ peer_status.latest_handshake.strftime("%Y-%m-%d %H:%M:%S") if peer_status.latest_handshake else "never" }}
Session traffic
RX {{ peer_status.rx_bytes | fmt_bytes }} / TX {{ peer_status.tx_bytes | fmt_bytes }}
{% else %}

Not present on interface (disabled or interface down).

{% endif %}

Client config

QR code

{{ peer.name }}.conf

{{ client_config }}
{% endblock %}