-
+
- Address
- {{ peer.address }}
@@ -56,7 +56,7 @@
- Public key
- {{ peer.public_key }}
-
+
- Enabled
-
{% if peer.enabled %}
@@ -66,17 +66,17 @@
{% 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 }}
@@ -88,49 +88,13 @@
-
Live status
{% if peer_status %}
-
+
- Status
-
{% if peer_status.online %}
@@ -140,15 +104,15 @@
{% 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 }}
@@ -192,6 +156,48 @@
+
+
{% if client_config %}
{{ peer.name }}.conf