github jmasarweh/UniFi-Insights-Plus v2.2.0
v2.2.0 — VPN Badge Detection & Network Management

latest releases: v3.7.0, v3.6.3, v3.6.2...
3 months ago

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_fixed guard running outside try/except — could crash on fresh installs before system_config table exists (follow-up to #24)
  • Stale VPN labels are cleaned up when VPN interfaces are removed
  • Added manual retention cleanup endpoint respecting .env fallback values (related to #25)

Key Files Modified

  • receiver/parsers.py — VPN prefix constants and badge mappings
  • receiver/unifi_api.py — UniFi API VPN type discovery, interface derivation, SSL warning suppression
  • receiver/routes/setup.py — Wizard VPN injection, label management, retention cleanup endpoint
  • receiver/routes/logs.py — VPN direction filter and badge query support
  • receiver/db.py — fn_ownership guard fix
  • ui/src/vpnUtils.js — Frontend VPN prefix constants and interface generation (new)
  • ui/src/components/SettingsWanNetworks.jsx — VPN network management UI
  • ui/src/components/VpnNetworkTable.jsx — Shared VPN table component (new)
  • ui/src/components/FilterBar.jsx — VPN badge filter chip

Don't miss a new UniFi-Insights-Plus release

NewReleases is sending notifications on new releases.