selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

ntopng logo

Self-host ntopng

7.0

Web-based network traffic analysis and flow collection

ReleaseOpen CoreGPL-3.0
Updatedlast month
LanguageLua
Setup difficultyModerate
Stars
8 346
CPU
2 cores (small network)
RAM
2 GB (small network)
Ports
3000 (HTTP web interface / REST API), 3001 (HTTPS web interface)
Requires
Redis
Docker
ntop/ntopng
Install with Docker
ntopng dashboard showing traffic and top talkersTraffic report view in ntopngAssets listing page of the ntopng web interfaceSecurity report screen with behavioural checksBehavioural checks screen of ntopngCustom queries screen for exploring flows

What is ntopng?

A web-based application for monitoring and analysing network traffic, aimed at network administrators and security teams who want visibility over their own infrastructure. Live flows, hosts and top talkers are shown alongside application detection for 450+ layer-7 protocols powered by nDPI, and the same console can act as a flow collector fed by mirror/TAP ports, NetFlow/sFlow exporters or SNMP devices. Historical data is kept as timeseries, while expired flows can be dumped to ElasticSearch, syslog, ClickHouse or Kafka, and behavioural checks raise alert notifications. An HTTP-based REST API plus ready-made integrations cover Suricata, Wazuh, Checkmk, Grafana and Kibana. Operators install it from the ntop package repositories, run the ntop/ntopng container, or build it from source; Redis must be active on the same host, and the GUI is reachable on port 3000 (HTTP) or 3001 (HTTPS). The free Community edition is limited to 8 monitored interfaces, with Pro and Enterprise licences adding LDAP/OIDC sign-in, ClickHouse flow dumps and higher interface counts.

ntopng alternatives

Should you self-host ntopng?

ntopng scores 71/100 on selfhost.directory (how scoring works) and ranks #2 of 47 in Network Monitoring. It has 8 346 GitHub stars, +112 in the last 30 days.

It shipped 2 stable releases in the past year. The latest, 7.0, came out on 22 September 2026. New versions land roughly every 10 months.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is GPL-3.0-licensed and written mostly in Lua.

Its closest alternative on selfhost.directory is mitmproxy (85/100, 46 906 stars). It scores higher overall, so compare the two before you pick. See ntopng vs mitmproxy side by side.

Features

  • Active monitoring
  • Behavioural checks and alertsEnterprise-level alert notifications belong to the paid Pro edition.
  • Historical reports and timeseriesHistorical data and reports (ClickHouse flow dumps) require an Enterprise licence.
  • Host geolocation
  • Identity ManagementListed under the Enterprise edition.
  • Layer-7 application protocol detection
  • Multi-Factor Authentication
  • Multi-interface monitoringCommunity and Pro are limited to 8 interfaces, up to 64 with Enterprise XL.
  • NetFlow/sFlow flow collection
  • Packet capture (libpcap / PF_RING)PF_RING is available on Linux.
  • QoE and performance metrics
  • Realtime traffic monitoring
  • SNMP MonitoringExtended SNMP support is an Enterprise feature.
  • Tunnel decapsulation
  • Web UI

ntopng README

ntopng

Build Status Fuzzing Status Gurubase

Introduction

ntopng® is a web-based network traffic monitoring application released under GPLv3. It is the new incarnation of the original ntop written in 1998, and now revamped in terms of performance, usability, and features.

While you can read more about ntopng on the ntop web site (http://www.ntop.org), we suggest you to start reading the doc/README.md file for learning how to compile and use ntopng.

How to install ntopng

Install ntopng with Docker

Redis server running on the same host

docker run -it -p 3000:3000 -v $(pwd)/ntopng.license:/etc/ntopng.license:ro --net=host ntop/ntopng:latest -i eth0

Replace eth0 with the host interface to capture from; the license file mount is only needed for non-Community editions.

How to configure ntopng

  • --users-filentopng-users.confUsers configuration file path.
  • --communityStart ntopng in community edition.
  • [--interface|-i]Input interface name (numeric/symbolic), view or pcap file path, including zmq://, tcp://, kafka:// and kafka-ssl:// flow-collection endpoints. Can be specified multiple times.
  • [--http-port|-w]3000HTTP port (set to 0 to disable the HTTP server); an IPv4/IPv6 address can be prepended.
  • [--https-port|-W]3001HTTPS port for the web interface.

ntopng releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

What to Save: Timeseries, Flows, pcaps

Monitoring is based on timeseries, saved flows or recorded pcaps: timeseries need the least disk space, then flows, then pcaps.

How Can I Troubleshoot SNMP ?

Enable the SNMP Debug preference under Settings -> Preferences, then collect the service log with journalctl -u ntopng.

What is the maximum number of interfaces?

Community and Pro support up to 8 interfaces, Enterprise M 16, L 32, XL 64; about 8 interfaces is the recommendation on commodity quad-core hardware.

Too many failed authentication attempts

The IP address is blacklisted for 5 minutes; the failed-login entries can be deleted from Redis and ntopng restarted.

Cannot Login into the GUI

Reset the login method back to local authentication with redis-cli set ntopng.prefs.local.auth_enabled 1, restart ntopng, and log in with the administrator credentials.

What are the default ntopng credentials?

The default login and the default password are both admin.

More in Network Monitoring

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…