Self-host LanLens
v1.6.0Self-hosted network inventory and local network scanner
- Stars
- 146
- Ports
- 7765 (HTTP port exposed by nginx for the LanLens web UI), 17765 (Internal FastAPI port behind nginx)
alexrosbach/lanlensWhat is LanLens?
This tool scans your local network using ARP to find devices by MAC and IP address, then builds a searchable inventory with vendor details, online status, and custom documentation fields. It adds SNMP polling, passive protocol discovery (LLDP, CDP, STP, OSPF), a visual topology map, and change notifications. Data can be exported to CMDB or i-doit systems. Deployment uses Docker Compose with host networking for raw ARP access; SQLite stores the data. No cloud account or telemetry is involved. First login uses admin/admin with a forced password change.
Should you self-host LanLens?
LanLens scores 45/100 on selfhost.directory (how scoring works) and ranks #35 of 48 in Network Monitoring. It has 146 GitHub stars.
It shipped 13 stable releases in the past year. The latest, v1.6.0, came out on 24 October 2026. New versions land roughly every 6 days.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Other-licensed and written mostly in Python.
Its closest alternative on selfhost.directory is mitmproxy (86/100, 46 441 stars). It scores higher overall, so compare the two before you pick. See LanLens vs mitmproxy side by side.
Features
- CMDB/i-doit export
- Device Inventory
- DNS/AXFR integration
- Multiple DHCP ranges
- Network device discovery
- Network segments
- Network topology map
- No cloud dependency
- Notification rules
- Passive topology discovery
- REST API
- Security awareness
- SNMP polling
- TLS/HTTPS
LanLens README
FAQ
Does LanLens show topology hints?
Yes, LanLens combines SNMP context with passive LLDP, CDP, STP/RSTP, OSPF, VRRP, and HSRP hints when the local network exposes those signals.
Can LanLens send network change notifications?
Yes, LanLens has granular notification rules for new devices, IP and hostname changes, online state, archive events, MAC drift warnings, and unknown DHCP observations.
Can LanLens export inventory data?
Yes, LanLens includes CMDB and i-doit export workflows so discovered inventory data can be reviewed before export.
Can LanLens use SNMP and topology signals?
Yes, LanLens can use SNMP targets, IF-MIB interface data, LLDP/CDP hints, and passive discovery signals when available.
Does LanLens help with network changes?
Yes, LanLens highlights scan changes, IP and MAC history, identity drift, unknown DHCP signals, and changes that should be reviewed.
What does LanLens discover?
LanLens discovers local MAC and IP devices, vendor hints, online state, DHCP range context, services, ports, and device history.
Who is LanLens built for?
LanLens fits home labs, small IT environments, MSP-style documentation work, and teams that want practical local network visibility.
What is LanLens used for?
LanLens creates a self-hosted inventory of local network devices, including discovered MAC and IP addresses, device context, services, notes, and documentation fields.
More in Documentation Management
LibreKBLibreKB is a free, open-source, self-hosted knowledge base web app with PHP/MySQL. Features user groups, TinyMCE editing, email password resets, responsive Bootstrap UI.
MediawikiMediaWiki is a collaboration and documentation platform used by tens of thousands of websites and organizations. It powers Wikipedia and is known for being powerful, multilingual, free, open-source, extensible, customizable, and reliable.
mermaid-live-editorSelf-hosted, open-source web editor for Mermaid diagrams with live preview, SVG and PNG export, and shareable view or edit links.
openchangelogOpenchangelog transforms Markdown changelogs into a beautiful website with search, password protection, themes, RSS, and GitHub/GitLab/Forgejo/local integrations.
outline-docker-composeOpen-source Docker Compose kit that deploys a self-hosted Outline wiki with a bundled OIDC login server, Postgres, Redis and nginx, using a make install script.
overleafOpen-source self-hosted collaborative LaTeX editor with real-time editing and PDF compiles, run through the Docker-based Overleaf Toolkit; Server Pro adds SSO.
PandaWikiOpen-source, self-hosted knowledge base that builds product docs, FAQs and blogs with AI Q&A, AI search and chatbots for DingTalk, Feishu and WeCom.
PineDocsPineDocs is a self-hosted, open-source file viewer for Markdown, HTML, code, images, PDFs, and media — no database needed. Runs via Docker or PHP with dark mode.
pkgsitepkgsite is a self-hosted Helm chart deploying a private pkg.go.dev instance on Kubernetes with PostgreSQL, Redis, and optional Athens proxy for private Go modules.
RackPeekSelf-hosted web UI and CLI for home lab infrastructure documentation, tracking hardware, services, and networks in open YAML formats.
RanetoSelf-hosted, open-source Markdown wiki and knowledge base for Node.js: file-based pages, in-browser editor, Lunr search, login protection, Docker image, no database.
scalarAn open-source platform for API docs and testing: self-hosted API references from OpenAPI/Swagger specs via a Docker image, plus an offline-first API client.









0 comments