Self-host nfsen-ng
v1.0.0-beta.7NetFlow traffic visualizer with real-time dashboards
- Stars
- 285
- RAM
- 512M
- Port
- 9000 (OpenSwoole HTTP server (internal))
- Requires
- Nfcapd, Nfdump
ghcr.io/mbolli/nfsen-ngWhat is nfsen-ng?
nfsen-ng provides a web interface for analyzing NetFlow, sFlow, and IPFIX traffic data. It acts as a modern replacement for the NfSen frontend while using the nfdump toolkit and nfcapd collector underneath. The interface updates in real time through Server-Sent Events via the Datastar library. Seven main views exist: a traffic overview with graphs and key metrics, top talkers ranked by any nfdump statistic, individual flow records with raw output, conversation maps as Sankey diagrams or matrices, threshold-based alerts with history, system health monitoring, and configuration settings. Time-series metrics can be stored in RRD databases or VictoriaMetrics, while filters, alert history, and precomputed rankings use SQLite. The server runs on PHP 8.4 with the OpenSwoole extension (Linux only) via the php-via framework. Deployment options include Docker Compose (recommended) or bare-metal installation on Ubuntu or Debian. The application has no built-in authentication and depends on a reverse proxy or network placement for access control. An optional read-only MCP server enables AI-assisted traffic investigation. All configuration uses NFSEN_* environment variables. Minimum requirements are PHP 8.4 with the necessary extensions for OpenSwoole, inotify, brotli compression, RRD support, and SQLite via PDO, plus nfdump 1.7.10 or newer, and a 512 MB memory limit. The project is in beta (version 1.0.0-beta.6 as of October 2026) and maintained by Michael Bolli.
Should you self-host nfsen-ng?
nfsen-ng scores 47/100 on selfhost.directory (how scoring works) and ranks #31 of 48 in Network Monitoring. It has 285 GitHub stars.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is Apache-2.0-licensed and written mostly in PHP.
Its closest alternative on selfhost.directory is mitmproxy (86/100, 46 446 stars). It scores higher overall, so compare the two before you pick. See nfsen-ng vs mitmproxy side by side.
Features
- Conversations analysis
- Cost estimation before queries
- Flow inspection
- GeoIP enrichmentOptional; requires MaxMind database or API key
- Health Monitoring
- MCP server for AI agentsOff by default; stdio or HTTP endpoint
- NetFlow/sFlow/IPFIX visualization
- Overview Dashboard
- Real-time SSE updates
- RRD storage backend
- SQLite for filters and alerts
- Threshold alerting
- Top Talkers analysis
nfsen-ng README
More in Network Monitoring
nostr-watchnostr-watch is a self-hosted, open-source TypeScript monorepo for monitoring Nostr relays via NIP-66, with Docker Compose stacks for easy deployment.
ntopngSelf-hosted, open-source (GPLv3) network traffic monitor: live flows, top talkers, nDPI layer-7 detection, NetFlow/sFlow collection and a REST API.
OCS Inventory NGSelf-hosted IT asset inventory and software deployment with agents for Windows, Linux, macOS, Android. Web console, REST API, SNMP, LDAP/CAS, plugins.
openITCOCKPITSelf-hosted open-source monitoring platform with web UI for Nagios, Naemon, Prometheus, featuring dashboards, alerting, Grafana, and native mobile apps.
opnsenseSelf-hosted, open-source firewall and routing platform on FreeBSD: stateful filtering, VPN, Suricata IPS, multi-WAN failover, all managed from a web GUI.
opnsense-exporterSelf-hosted Prometheus exporter for OPNsense metrics via REST API — ARP, WireGuard, Unbound, OpenVPN, IPsec, firewall, firmware, DHCP, temperature, CARP. Grafana dash.
orbOrb is a self-hosted, open-source network observability platform that orchestrates a fleet of lightweight agents to analyze traffic at the edge.
packet-meterSelf-hosted, open-source network traffic monitoring across Windows, Linux, and Android devices with per-app analytics and automated email reports.
phpservermonSelf-hosted, open-source uptime monitor that checks websites and TCP ports from your own PHP server, with cron jobs, graphs and email, SMS or Telegram alerts.
Pi.AlertSelf-hosted, open-source LAN/Wi-Fi device discovery and presence monitoring with alerts, web-service and SSL checks, ICMP monitoring and Nmap/Wake-on-LAN tools.
PiAwarePiAware is a self-hosted, open-source ADS-B client for Raspberry Pi that forwards aircraft transponder data to FlightAware with a local SkyAware web map.
portchecker.ioSelf-hosted open-source TCP port checker with REST API and React web UI. Deploy via Docker Compose to verify port availability on any host or IP.

0 comments