What's New
VPN Interface Detection
- VPN detection from both firewall log interfaces and the UniFi API (
/rest/networkconf) — WireGuard Server/Client, OpenVPN, IPsec Site-to-Site, L2TP, Teleport, and Site Magic - Logs from VPN interfaces are classified with a new vpn direction, with dedicated icon and color in the log table
- VPN badge filter added to the FilterBar for quick filtering by VPN type
VPN Network Management
- New VPN Networks section in Settings for managing VPN interfaces with badge, label, and CIDR assignment
- Support for multiple tunnels of the same VPN type (e.g. multiple WireGuard clients)
- Custom labels can be set and cleared per interface
- Tentative prefix disclaimer for unconfirmed VPN types (L2TP, Site Magic, OpenVPN Client)
Setup Wizard Integration
- Wizard now discovers VPN interfaces from both log data and the UniFi API
- VPN interfaces configured via the UniFi controller but not yet seen in logs are injected into the wizard segment list
- Badge and CIDR auto-populated from UniFi API data when available
Bug Fixes
- Suppress SSL warnings when verification is disabled at INFO log level — DEBUG still shows them (fixes #31)
- Fixed
fn_ownership_fixedguard running outside try/except — could crash on fresh installs beforesystem_configtable exists (follow-up to #24) - Stale VPN labels are cleaned up when VPN interfaces are removed
- Added manual retention cleanup endpoint respecting
.envfallback values (related to #25)
Key Files Modified
receiver/parsers.py— VPN prefix constants and badge mappingsreceiver/unifi_api.py— UniFi API VPN type discovery, interface derivation, SSL warning suppressionreceiver/routes/setup.py— Wizard VPN injection, label management, retention cleanup endpointreceiver/routes/logs.py— VPN direction filter and badge query supportreceiver/db.py— fn_ownership guard fixui/src/vpnUtils.js— Frontend VPN prefix constants and interface generation (new)ui/src/components/SettingsWanNetworks.jsx— VPN network management UIui/src/components/VpnNetworkTable.jsx— Shared VPN table component (new)ui/src/components/FilterBar.jsx— VPN badge filter chip