Files
wireguard-admin/app/templates/settings.html
T
lofyerandfactory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> 628246c5c5 Add custom peer IP/DNS, inline config view with copy, breadcrumbs, form validation errors
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2026-07-04 07:43:26 +08:00

20 lines
941 B
HTML

{% extends "base.html" %}
{% block title %}Settings - WireGuard Admin{% endblock %}
{% block breadcrumbs %}<span>/</span> <span>Settings</span>{% endblock %}
{% block content %}
<h1>Settings</h1>
<div class="card">
<table class="kv">
<tr><th>Interface</th><td>{{ settings.wg_interface }}</td></tr>
<tr><th>Server public key</th><td><code>{{ server_public }}</code></td></tr>
<tr><th>Endpoint host</th><td>{{ settings.wg_host }}</td></tr>
<tr><th>Listen port</th><td>{{ settings.wg_port }}</td></tr>
<tr><th>Subnet</th><td>{{ settings.wg_subnet }}</td></tr>
<tr><th>Client DNS</th><td>{{ settings.wg_dns }}</td></tr>
<tr><th>Client AllowedIPs</th><td>{{ settings.wg_allowed_ips }}</td></tr>
<tr><th>Keepalive</th><td>{{ settings.wg_persistent_keepalive }}s</td></tr>
</table>
<p class="muted">Settings are read from environment variables / .env and require a restart to change.</p>
</div>
{% endblock %}