This repository has been archived on 2026-11-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
WGTools-Extended/CHANGELOG.md
T
asminme 3841e93e32
Wydanie WGTools-Extended / release (push) Successful in 12s
1.0.3 - poprawa wydajności panelu
2026-10-30 03:20:21 +01:00

777 lines
73 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Changelog
## v1.0.3
- Ograniczono odświeżanie panelu w ukrytych kartach i liczbę odczytów bazy danych.
- Przyspieszono wyszukiwanie historii połączeń oraz zmieniono domyślny interwał odświeżania nowych instalacji na 10 sekund.
## v1.0.2
- Poprawiono wybór marki i przypisywanie uprawnień do sieci.
- Przeniesiono ustawienia nasłuchiwania, SNAT i adresów do przekierowań do formularzy sieci.
- Poprawiono dostęp użytkowników do przydzielonych sieci i pulpitu oraz edycję grup adresów.
## v1.0.1
- Poprawiono nazwę tokenu używanego do publikacji wydania.
## v0.40.5
- Added an Audit shortcut to the top bar; the audit dialog can now open on any page.
- Replaced the redundant sidebar branding with a persistent expand/collapse control, synchronized with Settings.
- Removed the duplicate sidebar update alert while retaining the top-bar update badge.
- Removed the duplicate native/browser theme tooltip.
- Telegram bot now appends navigation and action messages to the chat history rather than overwriting them.
- Added read-only Telegram Audit pages of 20 records with newer/older navigation and a quick `/audit` command.
- Restricted action confirmations to their own prompt to prevent stale-button replay.
## v0.40.4
- Added complete German, French, Italian, Spanish and Polish interface translations alongside English and Russian, with English fallback for future keys.
- Added translated Help documentation in all five new languages, covering the four Help sections and 40 topics per language.
- Added a quick light/dark theme toggle in the top bar, synchronized with Appearance settings.
- Improved update detection and visibility: GitHub release metadata is refreshed every 15 minutes and available updates are surfaced in the top bar.
- Improved Audit records for WireGuard client deletion: events now identify the deleted client and interface rather than displaying only `client`.
- Preserved existing native-install settings during upgrades and excluded the test suite from installed runtime files.
- Extended localization and regression checks without changing WireGuard tunnel or routing behavior.
## v0.40.0
Major feature release focused on stronger administrator authentication and practical network-path diagnostics for VPS and remote WireGuard deployments.
### MFA and account security
- Added optional per-user TOTP multi-factor authentication compatible with **Google Authenticator**, 2FAS, Aegis and other standard authenticator apps.
- MFA enrollment uses a QR code with a manual setup-key fallback and generates one-time recovery codes for emergency access.
- Recovery codes are stored only as hashes; regenerating or disabling MFA invalidates the previous recovery set.
- Enabling/disabling MFA invalidates older web sessions for that account, and the MFA challenge is rate/attempt limited.
- Added root CLI emergency recovery: `wgtools disable-mfa [username]` disables MFA for a selected user if the authenticator device and recovery codes are lost.
- MFA-related Audit events never record TOTP secrets, authentication codes or recovery codes.
### Traceroute, ping and interactive route map
- Added a dedicated **Server → Route** tab for IPv4 network-path diagnostics to a VPS/server by IP address or hostname.
- Added four-packet ping summary, hop-by-hop traceroute, average RTT, hop-to-hop RTT delta and real partial response-loss information.
- Added an optional interactive OpenStreetMap route map with drag/pan, mouse-wheel and `+`/`−` zoom, automatic route fitting, numbered hops and clickable hop details.
- Public responding hop IPs are geolocated through `ipwho.is` only when map display is enabled; private/local addresses are never sent for geolocation and lookups are cached for 24 hours.
- Route segments and corresponding table hops are colored by RTT growth: green for normal growth, amber for increased latency and red for sharp jumps.
- Unanswered traceroute probes now use a neutral **No reply** state instead of misleading `100% loss`; unanswered trailing hops after the last responding router are hidden from the table.
- If the destination still answers normal ping while final traceroute hops are filtered, WGTools reports that neutrally instead of implying the target is unreachable.
- Increased traceroute probe depth to 30 hops while keeping the visible result compact.
### UI and reliability
- Static CSS/JavaScript/image assets now include a per-process revision so browsers cannot keep stale assets after a same-version redeploy/service restart.
- Fixed the MFA login transition after asynchronous password validation.
- Fixed the compact-sidebar update indicator dimensions so it no longer jumps when sidebar collapse is toggled quickly.
- Shortened the pre-update Audit action to **Pre-update backup** / **Резервная копия перед обновлением** because the result column already reports creation status.
- Installer runtime packages now include `iputils-ping` and `traceroute` for the network-path diagnostic.
## v0.30.0
Public release focused on a complete self-hosted WireGuard management workflow and safer day-to-day administration.
- Added multi-interface WireGuard management with interface-aware Dashboard, Server, Clients and raw configuration views.
- Added normal clients and Site-to-Site peers, reusable groups/policies, client isolation, PSK/key rotation, route presets, expiration and recurring schedules.
- Added managed routing, NAT/MASQUERADE, source policy routing, access rules, live reconciliation and safe raw `wg*.conf` editing with backup/rollback.
- Added durable handshake/RX/TX history, CPU/RAM/network monitoring, 24-hour graphs and quick search.
- Added VPS Relay for NAT-restricted servers, including protected transport, reconnect/reuse and migration recovery.
- Added WGTools Nodes (HUB/Spoke) with protected TCP pairing on the Nodes port, in-tunnel synchronization, explicit published-network allow-lists, overlap protection, return-path NAT and network-change warnings.
- Added complete `.wgtbackup` migration/restore for WGTools state, users, clients/keys, WireGuard configs, Relay metadata and Nodes identity.
- Added built-in Let’s Encrypt HTTPS for domain/public IP, custom HTTPS port, private panel path, automatic renewal and guided certificate-first activation.
- Added local users, SMTP password recovery, Telegram administration, audit history and persistent last-seen information.
- Added safe opt-in GitHub Release updates with pre-update backup and automatic rollback.
- Added the root `wgtools` management CLI with panel controls, detailed WireGuard peer status, start/stop/restart, logs, HTTP rescue, soft uninstall and protected FULL CLEANUP.
- Reworked built-in Help for beginners, refreshed RU/EN copy and screenshots, and added search-engine discovery guidance for the public project while explicitly preventing indexing of the private admin panel.
- Optimized Dashboard, Clients, Server and Nodes loading paths and background snapshots for faster navigation.
## v0.20.55
- WireGuard CLI `Status` now prints the full peer Endpoint instead of shortening the address.
- The one-row-per-peer layout remains; table columns adapt to the actual data and use the available terminal width.
## v0.20.54
- Reworked root CLI WireGuard `Status` into a compact one-row-per-peer table sized for the default 67-column WGTools/MobaXterm console.
- Each peer row now shows name, VPN IP, Online/Offline state, handshake age, endpoint and compact RX/TX; long endpoint/name values are shortened in-place instead of wrapping onto extra lines.
- Interface status is condensed to one summary line above its peer table.
## v0.20.53
- Aligned the root `wgtools` status box and action-menu box to the same terminal width.
- Simplified Panel and WireGuard action labels inside their sections to `Start`, `Stop`, `Restart`, and `Status` without repeating the section name.
- Expanded WireGuard `Status` into a practical peer/client view: per-interface state/address/port/total+online counts plus each peer name, VPN IP, Online/Offline state, handshake age, endpoint, and RX/TX traffic.
- WireGuard status reuses WGTools client metadata and accumulated traffic; for offline peers it falls back to the audit database for the last known handshake/endpoint when available.
## v0.20.52
- Expanded the root `wgtools` CLI WireGuard section with **Status**, **Start**, **Stop**, and **Restart** actions.
- WireGuard status shows each configured interface, runtime state, IPv4 address, listen port, peer count, and most recent handshake age.
- When multiple WireGuard interfaces exist, interactive Start/Stop/Restart asks which interface to control; direct CLI subcommands `status-wg`, `start-wg`, `stop-wg`, and `restart-wg` are also available.
- Renumbered logs/recovery and removal actions while keeping soft uninstall and FULL CLEANUP behavior unchanged.
## v0.20.51
- Tightened the root `wgtools` console menu by removing blank spacer rows above/below each section while keeping the boxed single-column layout.
- Section titles (Panel, WireGuard, Logs & recovery, Removal) are now highlighted in a dark WGTools-style red on compatible terminals; menu actions remain uncolored for readability.
## v0.20.50
- FULL CLEANUP now also removes systemd timer timestamp files (`/var/lib/systemd/timers/stamp-wgtools-*`) so expiry/certificate timer history does not remain after a destructive wipe.
## v0.20.49
- Refined the root `wgtools` console layout for terminal compatibility: retained the boxed design while fixing three misaligned right-border lines caused by multibyte separator characters in padded status rows.
- Reworked the action menu into a single-column layout with one action per line and blank spacing between Panel, WireGuard, Logs & recovery and Removal sections for easier reading in MobaXterm and other SSH terminals.
## v0.20.48
- Reworked the root `wgtools` terminal console into a boxed status/menu layout with grouped Panel, WireGuard, Logs & recovery and Removal actions.
- Added menu action **9. Uninstall WGTools** for removing the application/services/CLI and internal Nodes/local Relay-home transports while intentionally preserving normal WireGuard, `/var/lib/wgtools`, certificates and remote Relay tenants for reinstall/recovery.
- Added menu action **10. FULL CLEANUP** with an explicit `DELETE ALL` confirmation. It wipes WGTools state/backups, Nodes, local Relay Agent/tenant state, all WireGuard interfaces/configs on the host, the WGTools Let's Encrypt certificate and WireGuard packages; remote Relay hosts are never contacted.
- The standalone uninstaller now also stops/removes local `wgtools-relay-home-*` services so uninstalling the panel cannot leave an active home-side Relay transport behind.
- Added `scripts/full-clean.sh` as the reusable destructive cleanup implementation used by the CLI and deploy fallback script.
## v0.20.47
- Server Settings now automatically recalculates the server VPN address to the first usable address when the VPN pool is changed, matching first-run and Add Interface behavior. Manual server-address edits remain respected.
- Localized WireGuard server validation errors in the web UI, including VPN pool/address mismatch, invalid prefixes, reserved addresses, listen-port and MTU validation.
## v0.20.46
- Added direct Nodes VPN-pool publication consistency checking. If a managed WireGuard VPN pool changes while the explicit Nodes allow-list still publishes the previously observed pool, the Nodes page now reports the exact old and current pools instead of relying only on generic discovery drift.
- The direct mismatch check is migration-aware and works with v0.20.44/v0.20.45 state, while deliberate omission of a VPN pool without a stale previously published pool does not trigger a false warning.
- Node Settings now shows only networks that are actually detected at the moment in the “Currently detected” helper; remembered/stale published networks remain in the editable allow-list but are no longer mislabeled as currently detected.
## v0.20.45
- Fixed Nodes network-change detection after a managed WireGuard VPN pool changes (for example `10.0.1.0/24` to `10.0.2.0/24`). Configured WireGuard interfaces are no longer misclassified as directly routed LAN candidates.
- Nodes now stores separate user-confirmed baselines for automatically discovered WireGuard/Site-to-Site networks and directly routed LANs, while retaining a compatibility fallback for v0.20.44 state.
- Server → Nodes now highlights stale publication state with a **Review networks** badge and warning; Node Settings also highlights the published-network field until the administrator reviews and saves the allow-list.
## v0.20.44
- Added authoritative Nodes network-conflict protection. Pairing and publication changes are rejected when a selected network overlaps the Nodes transport network or a network already published by another Node; the one-time join code is not consumed by a conflict.
- Nodes now remembers the locally detected network set when the publication allow-list is saved. If a VPN pool, Site-to-Site network or directly routed LAN later changes, Server → Nodes shows a warning with newly detected and no-longer-detected networks instead of silently rewriting the allow-list.
- Node settings remain explicit: the warning is cleared after the administrator reviews/saves the published networks; remote HUB validation remains authoritative for Spoke changes.
- Replaced the personal test-domain example in the Russian Nodes UI with the neutral documentation endpoint `vpn.example.com`.
- Updated Help to explain unique/non-overlapping Node networks, conflict blocking and network-change warnings.
## v0.20.43
- Reworked built-in HTTPS setup into an explicit guided sequence: certificate first, HTTPS enable second.
- The **Enable built-in HTTPS** checkbox stays disabled until a valid certificate exists for the currently entered domain/public IP; changing the target or using an expired certificate disables activation again.
- **Obtain / renew certificate** now also saves the entered HTTPS settings while HTTPS is disabled, so failed issuance does not discard the form values.
- Added localized Russian/English guidance and client-side handling for missing, expired or mismatched certificates instead of exposing the previous English helper error in the Russian UI.
- Updated Help to document the new certificate → enable → save workflow.
## v0.20.42
- Polished public-release UI copy: removed implementation details, roadmap/test wording and redundant helper text from Nodes, raw config, Mail, Telegram and HTTPS screens.
- Reworked built-in Help as a beginner-friendly user guide with practical examples and plain-language explanations of VPN pools, routes, NAT, Site-to-Site, Nodes, VPS Relay, client policies, backups, HTTPS, Telegram and updates.
- Moved VPS Relay documentation into the Server help section so Help navigation now mirrors the main WGTools structure: Dashboard, Server, Clients and Settings.
- Added a dedicated Nodes guide, including HUB/connected-node roles, published-network allow-lists and a practical two-site example.
## v0.20.41
- Removed the standalone sidebar `<`/`>` collapse control. Sidebar collapse is now an Appearance preference under Settings → General: **Collapse sidebar** (RU: **Свернуть панель**). The existing local browser preference is preserved, so upgrades keep the user's current sidebar state.
## v0.20.40
- Speed up Server page loading with a dedicated lightweight snapshot that skips client metadata, traffic persistence, metrics, diagnostics and backup scans while retaining live WireGuard state, routing and firewall data.
- Fix deploy hanging at `[8/8] Running helper self-test...` after v0.20.39 by explicitly providing the snapshot view JSON on stdin; bound installer helper smoke tests with timeouts so deployment cannot wait forever.
## 0.20.39
- Optimized initial loading and periodic refresh of **Clients** and **Dashboard** with page-specific snapshots. Clients no longer waits for host metrics, diagnostics, route/firewall descriptions or backup scans that are not used by that page.
- Dashboard no longer blocks first paint on full server diagnostics. The peer/traffic/resource snapshot renders first, while the diagnostic strip refreshes independently in the background.
- Interface inventory and the current-page snapshot now load in parallel instead of serially during page startup, reducing navigation latency across Dashboard and Clients.
- Snapshot generation reads client metadata and group definitions once per request instead of reopening the same files for each peer/group calculation. Historical last-seen merge now uses one SQLite session for all offline peers instead of reconnecting per peer.
- Added a lightweight peer-summary snapshot for background Nodes synchronization and WireGuard connection audit so those periodic workers no longer build a full management snapshot and compete with interactive page loads.
- The standalone diagnostics action now runs diagnostics directly rather than first constructing a full snapshot with metrics, client expansion, backups and server-management data.
## 0.20.38
- Speed up Server → Nodes status loading by collecting WireGuard interface inventory and directly-routed LAN candidates once per request instead of repeatedly through topology/local-summary/export calculations.
- Opening the Nodes tab no longer snapshots all local WireGuard clients; client inventory continues to refresh through pairing/background Node synchronization where it is actually needed.
- HUB status rendering reuses one local summary for conflict/topology calculations, removing duplicate privileged helper calls while keeping live tunnel/service state checks.
## 0.20.37
- Added a compact quick search to the read-only client table in **Server → Nodes → Details**, matching the Dashboard/Clients search control. It filters the currently displayed remote clients instantly by the visible row data (name, interface, VPN address, type and handshake text) and includes the same one-click clear control.
- Clarified the HTTPS-port behaviour found during testing: WGTools checks whether the port is locally usable on the WGTools host. A reverse proxy running on another LAN host does not occupy that host-local port; an occupied port reported with a process name (for example `nginx` on TCP 80) is a listener on the WGTools host itself.
## 0.20.36
- Simplified the three configured-Nodes action buttons to **Settings / Synchronize / Disconnect** (RU: **Настройки / Синхронизировать / Отключить**) so all three remain compact single-line actions. The Node Settings modal title remains unchanged.
- HTTPS port detection now also inspects legacy `iptables-save`/`ip6tables-save` DNAT/REDIRECT rules and performs a last-resort TCP probe against the host's own addresses. This catches Nginx Proxy Manager/container published ports that are reachable but invisible to `ss`, Docker/Podman metadata or the native nftables view.
## 0.20.35
- Node published-network text areas now resize vertically only, preventing the Node settings modal from being stretched horizontally.
- Renamed the Nodes action to **Synchronize nodes** / **Синхронизировать узлы** and sized it consistently with the neighbouring two-line Node action buttons.
- HTTPS port checks now detect container-published TCP ports (Docker/Podman) even when userland-proxy is disabled and no host LISTEN socket appears in `ss`. Added an nftables DNAT/redirect fallback, fixing false **Free** reports for ports such as TCP 443 already published by Nginx Proxy Manager.
- HTTPS status now labels a busy port as WGTools only when the listener is actually the WGTools Python/Uvicorn socket, rather than assuming every occupied configured HTTPS port belongs to WGTools.
## 0.20.34
- Nodes publication is now an explicit per-node allow-list. The HUB-enable and Connect-to-HUB dialogs are pre-filled with every currently detected candidate network; remove any line that should not be advertised to the Nodes fabric.
- The publication picker includes WireGuard VPN pools, configured Site-to-Site remote networks (including offline peers), and conservatively detected directly-routed private LANs. The Nodes transport network and common container/virtual bridge routes are excluded from LAN auto-detection.
- Newly discovered networks after pairing are shown as available in Node settings but are not silently published. Add them explicitly when they should become reachable from other Nodes.
- Existing Nodes created before v0.20.34 keep their previous automatic-export behaviour until Node settings are saved, avoiding a surprise routing change during upgrade.
- Fixed Nodes modal operation-status spacing so progress/error messages no longer crowd or overlap the helper text below the network field.
## 0.20.33
- Fixed Nodes HUB control service on panels using built-in HTTPS with a private access path. The private-path deployment mounts the WGTools FastAPI app below an outer application; mounted sub-application startup hooks were not being run, so background services (including the Nodes TCP pairing listener) could remain stopped even though the web UI and `wgnode0` worked.
- The outer private-path application now starts the same guarded background workers as normal HTTP mode: metrics sampling, update checks, WireGuard connection audit, Nodes sync and the Nodes TCP control service.
- Enabling HUB mode explicitly ensures the Node-control worker is alive, and the control loop now survives transient database/certificate/socket errors instead of silently dying. This makes HUB/Spoke role changes recover without requiring a full WGTools process restart.
## 0.20.32
- Nodes now automatically publishes every configured Site-to-Site peer remote network in addition to each local WireGuard VPN pool. Publication is configuration-driven rather than handshake-driven, so an offline Site-to-Site peer (for example `10.10.5.0/24`) remains in the topology and becomes reachable again without route churn when it reconnects.
- Adding, editing or deleting a WGTools client, applying raw WireGuard config, or changing/creating/deleting a WireGuard interface now reconciles the Nodes tunnel automatically. New Site-to-Site networks therefore propagate on the next Nodes sync without a manual **Sync now** step.
- Added automatic return-path NAT for ordinary WireGuard clients of remote Nodes. A remote Node VPN pool (for example `10.0.7.0/24`) is MASQUERADEd only when accessing a network published by the receiving Node, so LAN routers do not need routes back to every remote client pool.
- Remote Site-to-Site/custom LAN sources are intentionally not NATed by the client return-path rule; routed inter-site traffic keeps its original source address. The new rules live in a separately managed `WGTOOLS-NODES-CLIENT-NAT` chain and are rebuilt with `wgnode0` to avoid stale entries.
- Node details now identify automatically discovered Site-to-Site exports as **Site-to-site network**.
## 0.20.31
- Fixed Node-originated access to networks published by a WGTools node. Traffic from the internal Nodes transport network (for example `10.254.240.0/24`) is now automatically MASQUERADEd only when it exits toward a network published by the local WGTools instance, so LAN routers do not need a manual return route to `wgnode0`.
- The new NAT is source-scoped to the Nodes transport network and destination-scoped to local published networks. WGTools keeps it in the dedicated `WGTOOLS-NODES-NAT` chain, rebuilt with `wgnode0` so removed exports cannot leave stale rules behind. Ordinary LAN-to-LAN/site-to-site traffic keeps its original source address and is not NATed by this fix.
- This resolves the validated v0.20.30 case where the Node tunnel and routes were healthy, but ping from a remote Node transport IP reached the destination LAN and the reply could not return.
## 0.20.30
- Reworked **Server → Nodes** pairing architecture from the v0.20.29 prototype. Nodes no longer use the WGTools web panel URL, HTTP/HTTPS scheme, web port, certificate or private panel path for pairing or steady-state synchronization.
- HUB now uses the same numeric Nodes port for two independent transports: **UDP** for WireGuard `wgnode0` and a dedicated pinned-TLS **TCP** control socket for initial pairing. If the HUB is behind NAT, forward that port for both TCP and UDP.
- Spoke setup is reduced to **Node name + HUB `host:port` + one-time connection code + additional networks**. The HUB hostname entered by the Spoke is also used as the WireGuard endpoint, so HUB setup no longer needs a separate public hostname field.
- One-time connection codes now embed the HUB control-certificate SHA-256 fingerprint. The Spoke pins that identity before sending the one-time secret, avoiding any dependency on the web-panel TLS certificate.
- After `wgnode0` is established, topology/status/version/read-only-client synchronization moves to the HUB transport address inside the WireGuard tunnel. Normal sync and leave requests are accepted only from the paired Node transport IP.
- The optional **Panel URL** remains only in Node settings as informational metadata for the **Open panel** button; changing HTTP/HTTPS, web port, hostname, certificate or private path no longer affects Nodes.
- Preserved the HUB control identity inside SQLite so full WGTools `.wgtbackup` migration/restore keeps existing Spoke trust. Failed local tunnel creation also revokes the just-created HUB peer through the pinned pairing channel when possible.
- Fixed the Nodes connection-code UI on dark theme and added a Clipboard API fallback so **Copy** works on ordinary HTTP/LAN panels where the modern clipboard API may be unavailable.
## 0.20.29
- Added the first test version of **Server → Nodes**. Any WGTools installation can become a HUB; other WGTools panels pair to it with a one-time 15-minute code and establish a dedicated hidden `wgnode0` WireGuard transport.
- WGTools Nodes automatically publishes the VPN pools of local WGTools-managed interfaces and can additionally publish explicitly configured routed LAN/other IPv4 networks. The HUB distributes the topology and WGTools adds the corresponding routes, including routes in local numeric policy-routing tables used by WGTools interfaces.
- Added Hub-and-Spoke routing between connected panels, automatic conflict detection for overlapping published networks, per-node tunnel status/version/network/client counts, a read-only remote-client details dialog and an optional **Open panel** link. Remote private keys, PSKs, users and client-management actions are never shared.
- The initial Nodes test deliberately uses a simple trust model: all non-conflicting published networks are reachable by all connected nodes. Granular inter-node ACLs and remote administration are not part of this version.
- Node pairing/synchronization uses the configured HUB panel HTTP/HTTPS URL while WireGuard data traffic uses the separate `wgnode0` tunnel. A spoke now removes its HUB peer on clean disconnect; failed pairing/config changes roll back instead of leaving ghost topology state.
- Reserved `wgnode*` interfaces as internal WGTools transports so they do not appear as normal server interfaces. Normal WGTools uninstall removes the internal Node tunnel while preserving user WireGuard interfaces.
- Fixed the `wgtools` terminal console to discover and display the actual normal WireGuard interfaces instead of assuming stale `wg0`. A server with only `wg1` now shows/restarts `wg1`; internal `wgrly*`/`wgnode*` transports remain separate/hidden.
## 0.20.28
- Fixed the last race during live built-in HTTPS changes. After saving a new HTTPS port or private panel path, the browser now waits for the restarted WGTools process to become healthy at the exact new HTTPS URL before navigating, instead of relying on a fixed delay that could briefly hit the old route (404) or a half-open TLS listener (`PR_END_OF_FILE_ERROR`).
- `/healthz` now exposes a per-process non-sensitive instance token and CORS only on that readiness endpoint, allowing a page on the old HTTPS port to verify that a genuinely new WGTools process is ready on the new port/path. The rest of the hidden-path surface remains unchanged.
## 0.20.27
- Added a compact `wgtools` terminal console for remote administration. It shows WGTools/WireGuard/Telegram/timer states, the exact current panel URL and private HTTPS path, certificate expiry, and provides panel start/stop/restart, WireGuard restart, log viewing and an HTTP rescue action.
- Settings → HTTPS now has the same compact panel-address action used by client creation, so the current browser hostname/IP can be inserted without typing it manually.
- Hardened live HTTPS port/path changes: the service restart is delayed long enough for the API response to flush, the browser uses a keepalive request, and the UI reconnects explicitly to the requested HTTPS scheme/port/path instead of remaining on the old origin if the socket is interrupted during the switch. A guarded systemd hand-off verifies the new local health endpoint and automatically restores the previous web settings if WGTools fails to start after the change.
- The installer now exposes `wgtools` in `/usr/local/bin`; update validation/rollback and uninstall handling include the console command.
## 0.20.26
- Built-in HTTPS can now listen on a user-selected TCP port instead of being fixed to `443`; port `80` remains reserved for Let’s Encrypt HTTP-01 validation.
- Added a required user-defined **Panel access path** for built-in HTTPS, for example `/MyPrivateWGToolsPath/`. When HTTPS is enabled, the WGTools application, API and static files exist only below this prefix; direct requests to `/`, `/login`, `/api`, `/static`, etc. return `404`.
- The configured path is preserved across WGTools restarts/updates and can be changed later from Settings → HTTPS. Authentication remains mandatory; the path is an additional scanner-noise reduction layer, not a replacement for credentials.
- Updated redirects, authentication flows, static assets and browser API requests so every WGTools function works correctly below the HTTPS path prefix.
- HTTPS port checks now validate TCP `80` plus the selected panel port and continue to leave unrelated listeners untouched.
## 0.20.25
- Reorganized the first WireGuard server setup grid so **Interface / Listen port** are paired on the first row and **Display name / MTU** on the second, reducing unused horizontal space.
- Client creation keeps the server address field empty but adds a compact globe action that inserts the current panel hostname/IP from the browser URL; endpoint history/manual entry remain available.
- Added **Settings → HTTPS** with direct Uvicorn TLS on TCP 443 — no bundled Nginx/reverse proxy. WGTools can request Let’s Encrypt certificates for a domain or public IP using Certbot standalone validation.
- Added local TCP 80/443 conflict checks. WGTools never stops or overwrites an unrelated listener; TCP 80 must be reachable from the Internet for ACME issuance/renewal.
- Added automatic certificate renewal through a dedicated systemd timer and reload hook. IP certificates use Let’s Encrypt’s required short-lived profile.
- The HTTPS tab shows certificate expiry, Certbot/renewal status and copyable `fullchain.pem` / `privkey.pem` paths. Built-in HTTPS can be disabled to return WGTools to HTTP when an external reverse proxy is preferred.
- Updated install/update/rollback/uninstall plumbing so HTTPS state survives WGTools application updates while Let’s Encrypt certificate files remain independent under `/etc/letsencrypt`.
## 0.20.24
- Reorganized **Settings → Mail** into a clearer two-column flow: SMTP server + encryption, port + sender name, SMTP login + password, with the test recipient kept as a single half-width field below.
- The sender e-mail is now taken from the SMTP login in the web UI, removing the duplicate sender-address field. The backend keeps compatibility with previously saved sender addresses.
- Changing SMTP encryption now automatically proposes the conventional port: STARTTLS → 587, TLS/SSL → 465, no encryption → 25. Custom ports can still be entered afterward.
## 0.20.23
- Fixed the password-recovery form in Firefox: after a reset code was successfully mailed, the UI now advances to the code/new-password step instead of showing `event.currentTarget is null`.
- Password-reset and SMTP test emails now use the language selected in WGTools instead of combining Russian and English in one message.
## 0.20.22
- Added **Settings → Mail** with SMTP server/port, STARTTLS/TLS/plain modes, optional SMTP authentication, sender identity, masked saved-password handling and test delivery. Mail can be enabled independently and the saved SMTP password can be removed without exposing it back to the browser.
- Added optional per-user **E-mail** addresses, including first-user setup, user creation and later editing. E-mail addresses are unique when present and are included in the full SQLite-backed `.wgtbackup`.
- Added self-service **Forgot password?** recovery on the login screen when Mail is enabled: users request a one-time 6-digit code by username or e-mail, then set a new password. Codes are salted PBKDF2 hashes, expire after 15 minutes, are one-time use, allow five attempts and are rate-limited.
- Password-recovery requests always return the same public response whether an account/e-mail exists or not, preventing username/e-mail enumeration.
- Added **Send reset** to Settings → Users so an authenticated administrator can send a recovery code to a user's registered e-mail.
- Password changes and successful recovery increment a per-user session version, invalidating older web sessions for that user. Sessions created before this feature are upgraded safely only until the account has changed credentials.
- Extended Audit with password-recovery, mail-settings/test and user-email/reset events. Failed logins now include the connecting IP in the Audit object; reset codes, SMTP passwords and other secrets are never logged.
- Password-reset rate counters are updated transactionally, and rate-limited public requests are not allowed to flood the Audit journal.
## 0.20.21
- Polished the Telegram **Server** submenu: removed the mixed emoji/glyph icons from Start/Restart/Stop and kept the controls as plain localized text.
- Applied native Telegram inline-button styles where supported: **Start** uses `success` (green), **Restart** uses `primary` (blue), and **Stop** uses `danger` (red). The **Menu** button remains in the normal Telegram style.
## 0.20.20
- Simplified the Telegram main menu: the top row is now split into **Interface** and **Server**, while WireGuard Start/Restart/Stop controls move into the dedicated Server submenu instead of occupying a permanent bottom row.
- Replaced the old button-only emoji controls with compact text actions (`▶ Start`, `↻ Restart`, `■ Stop`; localized in Russian) so the server controls are immediately understandable.
- Server control confirmations, success messages and errors now return to the Server submenu rather than unexpectedly jumping back to the main menu, keeping Telegram navigation consistently step-based.
## 0.20.19
- Reduced the compact sidebar rail from 70 px to 56 px so icon-only navigation gives the content area more room on small displays.
- Replaced the previous collapse/expand glyph with a simple `<` / `>` control: `<` collapses the expanded sidebar and `>` expands the compact rail.
## 0.20.18
- Reworked the main sidebar with clean line icons for Dashboard, Server, Clients and Settings.
- Added a persistent manual compact mode: the sidebar collapses to an icon-only rail and the content area expands; the choice is stored in the browser. On narrow screens the compact rail is used automatically so navigation remains available without consuming the full width.
- Replaced the old two-line footer version label with a compact WGTools logo + `WGTools - vX.Y.Z` GitHub link. The update-available notice also adapts to the compact sidebar.
## 0.20.17
- Fixed Dashboard **Traffic → Reset**. The API route and privileged helper already supported `traffic_reset`, but the web application's helper-action allowlist did not, so the request was rejected before reaching the helper with `Unsupported helper action: traffic_reset`.
- Added a regression test that keeps the web helper wrapper and privileged helper action lists aligned for traffic reset.
## 0.20.16
- Consolidated web client-config Audit events: opening the combined config + QR modal now produces one `client.config_viewed` row instead of separate config and QR rows. Existing historical `client.qr_viewed` rows remain readable.
- Telegram **Configs → client** re-issue now records the same `client.config_viewed` Audit action with Telegram actor identity, interface/client context and filename after both `.conf` and QR are delivered. No config, key or QR contents are stored.
- Telegram config re-issue failures now use the existing redacted failure Audit path while keeping the user inside the Configs flow.
## 0.20.15
- Added a small breathing gap below the client-editor operation/status banner so progress and result messages no longer visually merge with the fixed modal action bar.
- The spacing is applied only while the status banner is visible, so the normal client editor layout is unchanged when there is no operation message.
## 0.20.14
- Fixed client key rotation while the client is currently connected. Rotating credentials already replaces the old runtime WireGuard peer immediately; the UI now treats that disconnect as the expected result instead of turning a post-rotation refresh failure into a false `NetworkError`.
- The client editor reports rotation success before refreshing live state, and the follow-up snapshot refresh is best-effort so it cannot overwrite a completed rotation.
- Rotation confirmation/status text now explicitly says that an active client session will be forcibly disconnected and that the old config becomes invalid.
- Added a clear recovery message for the special case where the WGTools panel itself is being accessed through the client whose credentials are being rotated.
## 0.20.13
- Added per-client VPN peer isolation for WGTools-managed normal clients. Isolation is symmetric inside the WireGuard address pool and leaves server/LAN/Internet/Site-to-site access to the existing policies.
- Replaced separate PSK and client key-pair rotation controls with one **Rotate keys** action. It always regenerates PrivateKey/PublicKey and also rotates PSK when PSK is enabled.
- Preserved client address, routes, group/policies, schedule/expiration, isolation, durable last-seen and traffic counters across key rotation.
- Added Audit event `client.credentials_rotated` without storing key material.
## 0.20.12
- Added optional per-interface **MTU** to first server setup, Add WireGuard Interface and Server Settings. Empty/0 keeps wg-quick automatic MTU; explicit values are validated and written as the standard `MTU = ...` interface directive.
- Added safe **client key-pair rotation** for WGTools-managed clients. A new PrivateKey/PublicKey replaces only that peer while preserving its VPN address, routes, policies, group, PSK, expiration/schedule settings, durable last-seen state and accumulated traffic.
- Client key rotation is transactional with the existing WireGuard config backup/rollback path. The old client config becomes invalid immediately and WGTools requires a newly issued `.conf`/QR.
- Added Audit event `client.keys_rotated` without storing key material.
- Added regression tests for MTU parsing/validation/config generation and managed-client key rotation state migration.
## 0.20.11
- Reworked Telegram Bot navigation so each action returns to its logical parent screen instead of unexpectedly jumping to the main menu.
- Config/QR re-issue now retires the old picker, sends the `.conf` and QR, then places a fresh client-config picker **below** the files; the next actionable buttons are therefore always at the bottom of the conversation.
- Legacy/unavailable config selections stay inside the Configs screen, including useful error text, instead of replacing the flow with the main menu.
- Delete confirmation **No** now returns one step to the delete-client list; successful deletion and deletion errors also return to the refreshed delete list, with the removed client gone.
- Stale interface/group selections now keep the user in their respective picker with a useful message. Existing create flow still finishes with a fresh main menu below generated client files.
- Added Telegram navigation regression tests covering config delivery order, the existing create-flow bottom menu, legacy config selection and delete-flow parent navigation.
- Cyrillic client names now produce readable portable config filenames via transliteration instead of falling back to `wireguard-client.conf`; web and Telegram re-issue use the same generated filename.
## 0.20.10
- Reworked the automatic configuration-backup card so its stored-count / last-backup block sits below the retention control at full card width; the timestamp is kept on one line instead of wrapping in the narrow right-hand column.
- Audit now refreshes automatically while its modal is open, using the saved **Settings → General → Status refresh interval** value (2–60 seconds). The existing background prefetch remains, and manual Refresh still forces an immediate fresh request.
## 0.20.9
- Prefetch the Audit journal in the background when Settings loads, so opening **Audit** normally renders the already-fetched rows immediately instead of showing a visible loading pause first. Manual Refresh still requests fresh data.
- Shortened the automatic-backup status badge to **Enabled / Включено** and forced the pill to stay on one line in the compact backup card.
## 0.20.8
- Matched the height of the two **Settings → Backups** cards on wide screens so the automatic configuration-backup card now aligns with the full migration/restore card instead of ending early.
- The **Save** action in the configuration-backup card stays anchored at the bottom of the equal-height card; narrow-screen stacked layout remains unchanged.
## 0.20.7
- Reorganized Settings into persistent tabs matching the Server page: General, Backups, Telegram, Users and About. The Audit button remains a separate top-level tool.
- Split backup controls into two independent cards shown side by side on wide screens: automatic configuration backups and full migration/restore backups; they stack vertically on narrower displays.
- Settings tabs remember the last section for the browser session and support direct URL hashes such as `/settings#about`; the update notification therefore still opens About directly.
## 0.20.6
- Added durable lifetime WireGuard traffic accounting. Per-client RX/TX and the Dashboard Traffic total now survive WireGuard interface restarts, WGTools restarts and host reboots instead of following resettable runtime counters from `wg show`.
- The Dashboard Traffic card now includes traffic from clients that were later deleted, so the interface total represents all traffic since the last manual reset.
- Added a compact gray **Reset** button to the Traffic card. Resetting establishes the current WireGuard runtime counters as a new baseline and starts both the interface and current client totals from zero without restarting WireGuard.
- Traffic resets are recorded in Audit. Existing historical bytes that were already lost before upgrading to v0.20.6 cannot be reconstructed; the durable counter starts from the runtime values available at first v0.20.6 sampling.
- Added regression tests for accumulation across runtime counter resets, stopped interfaces, deleted clients and manual reset baselines.
## 0.20.5
- Fixed a regression in the Audit renderer introduced by the v0.20.4 layout change: the row color tone is now calculated for each audit item before rendering, eliminating the `tone is not defined` error and restoring all Audit rows.
- Kept the wider desktop Audit dialog, compact `ТГ` / `TG` Telegram actor labels, fixed responsive columns and existing search behavior from v0.20.4.
## 0.20.4
- Improved the Audit modal layout to avoid unnecessary horizontal scrolling on normal desktop widths: the dialog is slightly wider, the table uses a fixed responsive column layout, and long cell content is clipped cleanly instead of expanding the table.
- Compact Telegram actors are now displayed as `ТГ · @username · ID ...` in Russian and `TG · @username · ID ...` in English. The stored audit actor remains unchanged, preserving existing history and search compatibility; hovering the actor badge still exposes the original full value.
- Audit quick search matches both the original stored Telegram actor and the compact localized display form.
## 0.20.3
- Preserved each WireGuard peer's last successful handshake independently from the current runtime interface state. After a host/interface restart, Clients and Dashboard now show the real historical last connection instead of `Never`; `Never` is reserved for peers that truly never connected.
- Fixed durable last-seen pruning: a configured peer with runtime handshake `0` no longer loses its saved connection state. Existing installations affected by the old behavior can recover a recent last-seen value once from the 30-day Audit connection history, then keep it in durable state outside Audit retention.
- Completed the update Audit lifecycle. Background updates now record the pre-update full `.wgtbackup`, successful completion, useful update errors, successful rollback, and rollback failure without storing secrets.
- Added regression tests for last-seen persistence and migration from existing Audit connection history.
## 0.20.2
- Renamed **Settings → Logs / Audit log** to the clearer **Audit / Аудит** label while keeping the existing searchable audit modal and retention rules.
- Added Telegram Bot state-change auditing to the same SQLite journal used by the web panel. Telegram audit actors always include the numeric Telegram user ID and include `@username` when Telegram provides it.
- Telegram client creation/deletion and WireGuard Start/Stop/Restart now record success events with interface/client context without storing generated client configuration, keys or PSKs.
- Added audit coverage for Telegram-side persistent endpoint changes, useful failed administrative operations and denied state-changing attempts; menu navigation, status/client-list views and config re-issue remain intentionally silent.
- Hardened audit text redaction so token/key-like values in error text are scrubbed before storage in addition to the existing secret-field redaction.
- Added focused regression tests proving Telegram client create/delete produces the expected actor/action events, read-only navigation stays quiet, denied mutation is logged and secret-like failure text is redacted.
- Updated built-in help and EN/RU README documentation for Audit and Telegram auditing.
- Reorganized the README uninstall section into three clear paths: the safe WGTools-only uninstall remains visible, while destructive full WGTools+WireGuard and full dedicated VPS Relay cleanup commands are placed under collapsible spoilers.
## 0.20.1
- Local hotfix build prepared for testing; not published to GitHub.
- Fixed the sidebar update notice so a discovered newer release persists while navigating between Dashboard, Server, Clients and Settings, then disappears after a successful update or when WGTools is already current.
- Allowed the `update_notice` helper action in the web helper allow-list so `/api/update/notice` can return the cached release state instead of falling back to “no update”.
- Made the update flow explicitly show that WGTools creates an automatic full `.wgtbackup` before installing an update. The existing pre-update full backup and application rollback archive are preserved.
- Reduced false Telegram Bot test failures: if the direct `getMe` check times out with a TLS/timeout-style network error while the running bot has contacted Telegram recently, Settings reports the bot as working.
- Added a SQLite-backed audit log for panel activity with timestamp, username, action, object and result. Secret-bearing fields such as passwords, private keys, PSKs, Telegram tokens, `control_token` and SSH credentials are redacted.
- Added **Settings → Logs / Audit log** as a dedicated modal with quick search, localized event labels, color-coded action/result accents and a manual refresh button.
- Audit events are retained for 30 days with a 10,000-row safety cap.
- Added WireGuard client connection history to the audit log: WGTools records the client name, time and endpoint IP on the first active connection after a meaningful offline gap or when the endpoint IP changes, without logging every routine handshake or writing private configuration or keys.
## 0.20.0
- Changed first-run WireGuard defaults to `wg0 = 10.0.0.0/24` with server address `10.0.0.1/24`; the next interface now naturally continues as `wg1 = 10.0.1.0/24`.
- VPS preflight now reports both the number of saved Relay tenants and the number currently active by recent protected-transport handshake, avoiding the ambiguous old “N connections” label.
- Made VPS working/error/success message spacing symmetrical: the top and bottom gaps now use the same compact spacing.
- Rewrote the English and Russian README for the current feature set, explicitly documenting Debian and Ubuntu support, multi-interface management, client groups/policies, schedules/expiration, VPS Relay behavior, backups, periodic release discovery and safe updates.
- Replaced public README screenshots with the current UI and moved all screenshots under collapsible `<details>` sections.
- Added explicit destructive full-cleanup commands for both a dedicated WGTools host and a VPS Relay host, including optional WireGuard package removal.
- Updated privacy/security documentation for the six-hour cached background GitHub Release metadata check; application updates remain strictly opt-in.
## 0.19.15
- Fixed VPS wizard status spacing at the actual root cause: the shared JavaScript status helper no longer overwrites an element's complete `className`, so structural classes such as `vps-operation-status` and `migration-status` survive while working/error/success states change.
- VPS working/error/success messages now keep a deliberate gap below the Home ↔ VPS transport-port hint and a compact gap before the compatibility card.
- Added **Display name** to the first WireGuard server creation form (`wg0` on a clean install), matching the friendly-name capability already available when adding later interfaces.
## 0.19.14
- Hid WGTools internal Relay transport interfaces (`wgrly*`) from the global WireGuard interface switcher and Server interface manager; they are implementation details of Home ↔ VPS Relay transport, not user-managed WireGuard servers.
- A stale browser cookie that previously selected a `wgrly*` interface now falls back automatically to the normal configured interface (typically `wg0`) instead of opening an empty “Not configured” Server view.
- Reserved the `wgrly*` namespace so user-facing interface create/rename/delete/helper actions cannot accidentally target or create a name that conflicts with Relay transport.
- Kept the internal transport visible only where it is useful: an installed VPS row now shows its `wgrly*` transport name alongside the published WireGuard interface and Home ↔ VPS transport addresses.
## 0.19.13
- Fixed client create/update/delete when another WGTools-managed policy is currently blocked: the live iptables parser now accepts the canonical form emitted by `iptables -S`, including an omitted `-d 0.0.0.0/0` and the default `--reject-with icmp-port-unreachable` added to REJECT rules.
- Runtime policy reconciliation now removes the exact live WGTools-tagged rule returned by iptables before rebuilding the desired policy set, so stale/duplicate managed rules are healed without blocking further client changes.
- Kept strict validation for unexpected WGTools-tagged firewall shapes; unknown extra matches/options are still rejected instead of being silently rewritten.
## 0.19.12
- Refined the VPS wizard operation-status spacing so working/success/error messages sit cleanly below the Home ↔ VPS transport-port hint with a tighter, balanced gap before the compatibility card.
- Expanded built-in RU/EN help with the current multi-interface, client policy/group, VPS Relay, Relay reconnect/disaster-recovery, backup and update workflows; moved raw-config guidance to Server → Config.
- Made full migration-backup coverage of VPS Relay state explicit: the SQLite backup carries controller/tenant identity, management token and home transport key used to reconnect to a preserved remote tenant; the backup manifest now reports saved Relay records.
- Added periodic update discovery: WGTools refreshes stable GitHub Release metadata in the background with a six-hour cache.
- Added a prominent sidebar update notice with the available version; clicking it opens Settings → About, where cached release details and the existing safe one-click updater are shown.
## 0.19.11
- Fixed reconnecting a preserved VPS Relay when the home WireGuard ListenPort differs from the value stored in the remote tenant: WGTools now synchronizes the existing tenant to the current port instead of rejecting it or creating a new tenant.
- Reconnect still reuses the original Relay tenant, UDP Relay/transport ports, controller identity and client `relay_vps_id`.
- Moved VPS operation/error messages back directly below the public endpoint fields, with extra spacing so they no longer cover the Home ↔ VPS transport-port hint.
## 0.19.10
- Fixed the VPS Relay install/reconnect button crash caused by the undefined `vpsCredentials` JavaScript reference.
- **Remove VPS** now detaches only the local transport and keeps a hidden local Relay identity record instead of deleting it, so adding the same VPS again reconnects to the same tenant.
- VPS preflight now recognizes an existing tenant created by the same WGTools controller and reuses its original Relay/transport UDP ports instead of allocating a second connection.
- Added recovery for VPS entries already removed by v0.19.9: WGTools can reclaim the preserved remote tenant over SSH, rotate only the home-side transport peer key when necessary, and reuse an orphaned client `relay_vps_id` so existing Relay clients reconnect without being recreated.
- The VPS wizard clearly reports when an existing Relay will be reconnected and changes the action to **Reconnect Relay / Подключить Relay**.
- Moved VPS operation/error messages below the compatibility result card for a cleaner wizard layout.
## 0.19.9
- Added **Remove VPS** for installed Relay entries. The action detaches the VPS from the current WGTools instance, stops/removes only the local home-side Relay transport, and removes the local database record.
- Removing an installed VPS never connects to or deletes anything on the remote VPS: the Relay Agent, tenant, transport configuration, keys and management token are intentionally preserved for disaster recovery.
- Added an explicit confirmation warning that clients using the removed Relay will stop connecting through it until they are reconfigured or WGTools state is restored.
- Restoring a WGTools migration backup now reconciles installed Relay records from the restored SQLite state and recreates a missing home-side transport using the original tenant identity/keys, allowing WGTools to reconnect to the preserved VPS Relay instead of provisioning a new tenant.
## 0.19.8
- Simplified VPS onboarding: after a successful SSH/preflight check the same wizard proceeds directly to Relay installation; the old visible “Save candidate” step is no longer part of the normal flow.
- Added the first real client-over-Relay path. When at least one installed Relay exists for the selected WireGuard interface, managed clients can choose **Directly to WGTools** or **VPS Relay** in the Configuration tab.
- Relay Endpoint is generated automatically from the selected VPS domain/IP and Relay UDP port; manual server endpoint fields become read-only while Relay mode is selected.
- Generated client configs/QR codes resolve the current Relay endpoint from WGTools state so the client profile is pointed at the VPS without changing the real server WireGuard peer.
- Relay controls stay completely hidden from client editing when no installed Relay exists for the active WireGuard interface.
- Clients using Relay show a compact Relay marker/name in the Clients list and are searchable by Relay endpoint/name.
- This stage intentionally keeps Internet egress on the home WGTools server; VPS Internet egress will be layered on only after the transparent client → VPS → Home path is validated on the test server.
## 0.19.7
- Added the first installable WGTools VPS Relay Agent stage.
- Added a protected per-controller WireGuard transport tunnel between WGTools and VPS.
- Relay Agent is multi-tenant: one VPS can host independent isolated connections for multiple WGTools controllers.
- Existing Relay tenants are never overwritten when another WGTools connects to the same VPS; free UDP ports are selected automatically.
- Added Relay health checks over the protected management tunnel.
- VPS SSH credentials remain ephemeral and are requested again only for installation.
- Added SSH host-key pinning between preflight and installation.
- Test deploy package supports an explicit target-host override for isolated Relay development.
## 0.19.6
- Reworked **Server** into compact tabs: Interface, Routing, VPS and Config.
- Moved the raw WireGuard editor from Settings to Server -> Config.
- Added the first safe VPS Relay stage: a real read-only SSH preflight for Debian/Ubuntu compatible VPS hosts.
- VPS preflight checks SSH access, sudo/root privileges, apt/systemd/network tooling, architecture and free Relay/transport UDP ports.
- Passwords and pasted SSH private keys are used only for the current preflight request and are never stored.
- Successful checks can be saved as non-secret VPS candidates in the WGTools database; remote installation is intentionally not enabled yet.
- VPS Relay client options remain absent until a Relay is actually installed/configured in a later test build.
## v0.19.5
- Reworked Telegram Bot navigation so completed actions and confirmations always retire the old inline keyboard and return to the appropriate higher-level/main menu state.
- Fixed Telegram client deletion confirmation: after Yes the confirmation buttons are removed immediately, the peer is deleted once, and the same message returns to the main menu; repeated queued taps are handled safely.
- Hardened Telegram Start/Stop/Restart, config delivery, interface selection and client-create flows against stale inline buttons and duplicate callback presses.
- Telegram client/status lists now reflect schedule/expiration administrative blocks, and Telegram-created managed clients use PSK by default to match the web UI.
- Replaced the Clients per-column Filters UI with the same compact quick search used on Dashboard, including one-click clear. Search covers name, group, VPN address, remote networks, type, endpoint, Keepalive and current status.
## v0.19.4
- Shortened the client table handshake column label to `Handshake` in both languages.
- Rebalanced client table column widths so compact action buttons stay inside the card in Russian UI.
- Added a one-click clear button to the Dashboard quick peer search field.
## v0.19.3
- Added a compact quick-search field to the Dashboard Active peers card. Search matches peer name, VPN address, type, endpoint and status without adding the full Clients filter UI to the Dashboard.
- Replaced the long Delete action in the Clients table with a compact danger “−” button with tooltip/accessible label so all client actions stay on one row on normal desktop widths.
- Refined desktop client-table column widths and action spacing to avoid unnecessary wrapping while preserving horizontal scrolling on genuinely narrow screens.
## v0.19.2
- Enabled PSK by default for newly created WGTools-managed clients while preserving the existing setting when editing or duplicating a client.
- Added per-column client filters with a compact toggle/reset UI for name, group, VPN address, remote networks, Keepalive and status.
- Custom expiration now pre-fills the browser's current local date/time when the date-time field is first opened.
- Reworked the client access timer to evaluate on exact minute boundaries instead of a relative one-minute interval.
- Added recurring per-client access schedules with selectable weekdays and start/end times. Outside the allowed window WGTools disables the peer without changing the client config, then restores the same peer automatically when access is allowed again.
- Access schedules use the WireGuard server's local time and support overnight windows such as 22:00–06:00.
- Scheduled/expired blocks now override the online indicator so the Clients/Dashboard status does not report an administratively blocked peer as online.
- Refined security checkboxes so the control stays left-aligned with its label instead of being stretched by the two-column form grid.
- Stabilized the Clients table/filter layout on desktop: opening and closing filters no longer leaves a stray horizontal scrollbar, while narrower screens keep normal horizontal scrolling.
## v0.19.1
- Fixed tabbed-client validation: browser-native hidden-field validation no longer blocks the WGTools validator, so Save now opens the exact tab containing the missing required field and focuses it.
- Restored the post-create flow: after a managed client is created successfully, WGTools immediately opens its generated `.conf` and QR code.
- Added an expiration action for temporary normal clients. By default an expired client is deleted as before; administrators can instead keep the client and automatically disable its WireGuard access.
- Kept expired-but-disabled clients visible in the Clients list with an explicit status marker. Editing the client to a future/no-expiration lifetime and saving re-enables the same peer and existing client configuration.
## v0.19.0
- Reworked the client editor into compact tabs: Basic, Policies, Configuration and Security. Validation now opens the tab containing the field that needs attention.
- Clarified client-group UX by separating **Server access policy** from the **Client configuration template**.
- Grouped clients now inherit Routes/AllowedIPs, DNS and Keepalive through an explicit configuration-source mode; inherited fields are read-only until **Override group template** is enabled.
- Existing inherited clients keep their saved configuration after a group-template change and show an explicit action to apply the current template before issuing a new config/QR.
- Added optional WireGuard `PresharedKey` support for WGTools-managed clients. PSK is generated securely, written to the server peer, stored in protected client metadata, and included in generated configs/QR codes.
- Added safe PSK rotation for existing managed clients with an explicit warning that the old installed client config stops working until a new config/QR is issued.
- Added temporary client lifetimes: no expiration, 1 hour, 3 hours, 6 hours, 1 day, or a custom local date/time. Expired peers are automatically deleted by a dedicated systemd timer, with the normal WireGuard configuration backup created first.
- Added PSK and expiration state to the Clients overview without adding more table columns.
- Preserves existing PSKs on unmanaged peers when editing other server-side peer fields, including correct parsing of an existing `PresharedKey` from the peer block.
- Fixed multi-interface policy reconciliation so updating/deleting rules on one WireGuard interface cannot remove WGTools-managed firewall rules belonging to another interface.
## v0.18.1
- Fixed the client-management JavaScript bootstrap function name so the web UI initializes correctly after loading.
- No changes to WireGuard interfaces, client groups, policies, routing, or backup format.
## v0.18.0
- Added client groups scoped to the currently selected WireGuard interface. Normal clients can belong to one group; Site-to-site peers remain separate.
- Added reusable group server policies for Internet access, local/Site-to-site access and address/network Allow/Deny exceptions.
- Added safe per-client policy overrides. Client-specific Allow/Deny exceptions take precedence over group exceptions without modifying the group itself.
- Added a fully custom client policy mode while keeping the client organizationally assigned to its group.
- Added reusable new-client defaults for route preset/AllowedIPs, DNS and PersistentKeepalive.
- New clients can inherit group defaults automatically; existing clients keep their current configuration unless an administrator explicitly applies the group defaults.
- Added a visible warning when a managed client's saved configuration differs from current group defaults, making deliberate `.conf`/QR re-issue clear.
- Added safe group deletion: clients can be unassigned or moved to another group and are never deleted with the group.
- Telegram client creation can now select an interface-scoped group and automatically uses that group's routes, DNS and Keepalive defaults.
- Group policy changes are reconciled into deterministic WGTools-managed firewall rules without restarting WireGuard.
- Portable `.wgtbackup` migration archives now use format v3 and include client-group metadata while remaining compatible with v1/v2 backups.
- Full Tunnel except local networks now keeps generated client `AllowedIPs` at `0.0.0.0/0`; the local restriction stays entirely server-side.
## v0.17.1
- Added required-field validation for managed client configuration, including the server address/domain and client AllowedIPs.
- Site-to-site remote networks are now marked required while that client type is selected.
- Added safe WireGuard interface deletion from the Server interface list. WGTools backs up the interface configuration, stops/disables the service, removes managed client metadata for that interface and switches to another remaining interface.
- The last configured WireGuard interface cannot be deleted from the interface manager; full removal remains an explicit uninstall/admin operation.
## v0.17.0
- Added multi-interface WireGuard management for `wg0`, `wg1` and additional interfaces from one WGTools installation.
- Added a global interface selector in the top bar; Dashboard, Server, Clients and raw WireGuard configuration follow the selected interface.
- Added a compact interface overview on Server with status, address, port, policy table and optional friendly display names.
- Added **Add interface** provisioning with automatic suggestions for the next interface name, non-overlapping VPN network, free WireGuard UDP port and policy-routing table when the existing topology uses policy routing.
- Added cross-interface validation to prevent overlapping VPN pools and duplicate WireGuard listen ports or policy-routing tables.
- WGTools-managed client metadata is now associated with its WireGuard interface while remaining compatible with legacy client metadata.
- Added per-user WireGuard interface selection to the Telegram bot.
- Upgraded portable migration backups to format v2 so all detected WireGuard interface configurations, interface states and friendly-name metadata are included; v1 backups remain restorable.
- Host CPU, memory and network history remains global and uses the host default uplink so switching WireGuard interfaces cannot mix different NICs in the 24-hour graph.
## v0.16.3
- Added 24-hour minimum, average and maximum summaries above the CPU and memory history graphs.
- Added separate RX and TX minimum, average and maximum rate summaries above the network history graph.
## v0.16.2
- Online peers are now highlighted with green status text and a subtle breathing green indicator on Dashboard and Clients.
- Respects the browser `prefers-reduced-motion` accessibility setting.
## v0.16.1
- Changed allowed-local-address exceptions from a resizable textarea to a single-line input.
- Full Tunnel except local networks now keeps the generated client `AllowedIPs` at `0.0.0.0/0` only.
- Added a read-only reference block showing which local and Site-to-site networks are blocked by the server-side policy.
## v0.16.0
- Added per-client local access exceptions for **Full tunnel except local networks**. Individual IPs/CIDRs can stay reachable inside otherwise blocked LAN/Site-to-site networks.
- Added managed ACCEPT exception rules ahead of broader managed REJECT policies while preserving automatic cleanup and runtime reconciliation.
- Route presets now expose current Site-to-site topology: Full tunnel except local networks shows the protected LAN/Site-to-site networks, VPN + local LAN includes them, and Custom routes starts empty when selected.
- Added WGTools application icon in the browser tab and header/login header based on the new project mark.
## v0.15.1
- Moved the full backup create/select/restore controls to the bottom of the backup block for better visual alignment.
## v0.15.0
- Redesigned full backup/restore controls into a compact Create / Select / filename / Restore row.
- Raw wg0.conf editor now closes after a successful apply and shows a clear bottom-right result notification.
- Added client duplication with automatic unique name/VPN address suggestions and duplicate validation.
- Added delayed contextual tooltips for buttons and controls.
- Telegram Bot can now resend existing managed client configs and QR codes; WireGuard service controls use compact icon buttons.
- Dashboard CPU, memory and network cards now keep and display rolling 24-hour history graphs.
- Simplified multi-destination firewall guidance to comma-separated values.
All notable public changes to WGTools are documented here.
## v0.14.0
- Added an opt-in update checker under **Settings → About** using official published GitHub Releases.
- Added one-click WGTools updates with release metadata/changelog display.
- Updates run in a separate transient systemd job so the web service can safely replace and restart itself.
- Added pre-update full `.wgtbackup` state backup plus a separate application rollback archive.
- Added automatic application rollback when update installation fails.
- Added a neutral Project / GitHub link in About.
- Expanded uninstall documentation and uninstaller output to make it explicit that WireGuard is preserved, with optional full WireGuard cleanup commands.
- Added sanitized public interface screenshots to the README.
## v0.13.2
- Reconciles the live `iptables` FORWARD chain against active WGTools-managed client policy after managed configuration transactions.
- Removes stale tagged `wgtools-protect-*` rules no longer present in `wg0.conf`.
- Collapses duplicate tagged policy rules and removes all exact copies when a restriction is deleted.
- Raw `wg0.conf` apply/restart performs the same reconciliation after WireGuard returns.
- Prevents a reused VPN address from inheriting a stale WGTools-generated REJECT rule from a deleted client.
## v0.13.1
- Fixed live synchronization for **Full Tunnel except local networks** policies.
- Deleting one generated client-policy rule creates a per-client exception for that destination while remaining restrictions continue to synchronize.
- Deleting a client removes its WGTools-generated policy rules in the same operation.
- User-created unrelated firewall rules are preserved.
## v0.13.0
- Added multiple firewall destinations separated by commas/new lines.
- Added **Full Tunnel except local networks** client mode.
- Server LAN and Site-to-site remote networks are automatically protected for that mode.
- Site-to-site add/change/delete operations update generated client restrictions.
## v0.12.1
- Removed personal developer/contact details from the About card.
- Removed redundant Read-only badges from Server summary cards.
## v0.12.0
- Added portable `.wgtbackup` migration backup and restore.
- Added archive/database validation, pre-restore safety backup and rollback.
- Restore can install WireGuard when the backup contains a server configuration and the target has no WireGuard tools.
- Successful restore clears the current web session.
## v0.11.2
- Fixed parser failure on mixed IPv4/IPv6 AllowedIPs such as `0.0.0.0/0, ::/0`.
- Parser errors no longer take down the whole dashboard/provisioning UI.
## v0.11.x
- Added built-in English/Russian help with fictional topology examples.
- Added project About information and later removed personal contact details before public release preparation.
## v0.10.0
- Added optional Telegram Bot using the official Bot API and long polling.
- Added authorized Telegram user IDs and private-chat-only administration.
- Added server status, client list/create/delete and WireGuard Start/Restart/Stop actions.
- Telegram-created clients can receive generated `.conf` and QR data.
## v0.9.0
- Added CPU, memory, server uptime and live uplink traffic metrics.
- Added compact Start/Restart/Stop controls.
- Added configurable refresh interval, online threshold and automatic backup retention.
## v0.8.0
- Added managed custom routes and firewall/NAT access rules.
- Added ownership distinction between server settings, Site-to-site routes and user rules.
## v0.7.0
- Added visual Server settings editor for VPN pool/address, port, uplink, LAN, forwarding, NAT and policy routing.
- Existing peers and unsupported custom rules are preserved.
- Added backup/apply/rollback protection for server changes.
## v0.6.0
- Added first-run account creation and login/logout.
- Added multiple local WGTools users with equal administrative permissions.
- Passwords stored as salted PBKDF2-SHA256 hashes.
## v0.5.1
- Fixed raw `wg0.conf` helper routing.
- Dashboard peer subtitle shows live Endpoint rather than repeating VPN address.
## v0.5.0
- Improved client editor layout and Site-to-site field visibility.
- New clients default to Full Tunnel.
- Server address/domain and WireGuard port became separate client-generation fields.
## Earlier development
Earlier internal versions established the dashboard, server parser, client list/create/delete workflow and initial deployment scripts.