Video coming soon…
🌐 Setup ntopng — Real-Time Network Traffic Analysis
Deploy ntopng on Ubuntu with Docker — a powerful traffic analyzer that shows, in real time, who's talking to whom on your network and where your bandwidth is going, on port 3051.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/monitoring/ntopng/ntopng-ubuntu.sh
chmod +x ntopng-ubuntu.sh
sudo bash ntopng-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/monitoring/ntopng/ntopng-ubuntu.sh
2 Make it Executable
chmod +x ntopng-ubuntu.sh
3 Run the Installer
The script installs Docker if needed and starts two containers — ntopng and a Redis backend for its data — in host network mode on port 3051. Host networking is what lets ntopng see the traffic on the interface it monitors.
sudo bash ntopng-ubuntu.sh
4 Open the Web UI and Change the Password
Open ntopng in your browser, log in with the default admin / admin, and change the password immediately:
http://<your-server-ip>:3051
Ports Used
| Port | Purpose |
|---|---|
| 3051 | Web UI (host network) — default login admin / admin, change it |
| host network | Required so it can observe the monitored interface |
| Redis + ./data | Redis backend (localhost) stores timeseries; ./data holds state |