A self-hosted network operations platform built around FreeRADIUS
Project description
MonsterOps
MonsterOps is a self-hosted network operations platform for ISPs, enterprise networks, and anyone running a FreeRADIUS environment — RADIUS users & groups, NAS devices, IP pools, sessions & accounting, auth analytics, RADIUS proxy/realms, VPN tunnels, a safe nftables firewall manager, automation, and a REST API, all in one dashboard.
Built with FastAPI + PostgreSQL and a vanilla-JS Web Components frontend — a single Python package, no Node.js, no build step.
Highlights
- RADIUS users & groups — full
radcheck/radreply/radusergroupCRUD, bulk CSV, per-user session & auth history - NAS management — vendor presets and NAS groups, ICMP reachability monitoring, plus an SSH/Telnet NAS Manager (pull, version, diff, and push config; one-click "point a NAS at RADIUS" deploy; encrypted credentials)
- Firewall manager — a dedicated nftables table with staged apply, snapshot + auto-rollback, and adaptive access control (brute-force / country blocking) built to keep you from locking yourself out
- Sessions & analytics — live sessions with CoA disconnect, accounting history, and auth logs with geo-location + anomaly detection
- And more — RADIUS proxy & realms, WireGuard / L2TP-IPsec VPN tunnels, automation & scheduling, webhooks, a scoped REST API, and integrations (Zabbix, Graylog, GeoIP2)
See the full capability list in the Reference.
Get Started
Requires Python 3.11+ and a reachable PostgreSQL 15+ database (the same one FreeRADIUS uses).
Production (recommended)
git clone https://github.com/NLRI65000/MonsterOps.git
cd MonsterOps
sudo bash deploy/install.sh
The installer sets up the service user, database, FreeRADIUS SQL integration, a systemd unit, and optional tooling (VPN backends, nftables, sudoers rules). Re-run deploy/upgrade.sh to update an existing install in place.
From PyPI
pip install monsterops
export MONSTEROPS_DATABASE_URL=postgresql+asyncpg://user:pass@localhost/radius
export MONSTEROPS_SECRET_KEY=$(python -c "import secrets; print(secrets.token_urlsafe(32))")
monsterops migrate # create/upgrade the database schema
monsterops serve --host 0.0.0.0 --port 8000
The migrations ship inside the package, so monsterops migrate works without a source checkout. (You can also put the settings in a .env file in the working directory instead of exporting them.)
From source (manual)
git clone https://github.com/NLRI65000/MonsterOps.git
cd MonsterOps
pip install -e .
cp .env.example .env # set MONSTEROPS_DATABASE_URL and MONSTEROPS_SECRET_KEY
monsterops migrate # or, from a checkout: alembic upgrade head
monsterops serve --host 0.0.0.0 --port 8000
Then open http://localhost:8000 and complete the first-run wizard to create your superadmin account.
Before production: change
MONSTEROPS_SECRET_KEYfrom its default (the app warns until you do) and serve over HTTPS. See the User Guide.
Documentation
- User Guide — install, configure, navigate the UI, core features (including firewall safety), and finding logs
- Reference — full feature list, configuration variables, roles, CLI, architecture, plugins, tech stack, and roadmap
Security
Found a security vulnerability? Please don't open a public issue. Report it privately by email to nlrigithub@hotmail.com — see SECURITY.md.
License
MIT — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file monsterops-1.13.0.tar.gz.
File metadata
- Download URL: monsterops-1.13.0.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58dfe361fdb123f32ba3a7f681407c7a6395898cf7a29dfa3d94ec05766acae9
|
|
| MD5 |
8398b0bbbc4aced72d9688d96c80c647
|
|
| BLAKE2b-256 |
b9e66642c92ca28ba1d550c75e04771c190d340c6634e1b6f837914e63a80c0c
|
File details
Details for the file monsterops-1.13.0-py3-none-any.whl.
File metadata
- Download URL: monsterops-1.13.0-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0c3f166ffded47679cd11b1e25db8cdda0961cb41dfd18ee7dc237362508f8a
|
|
| MD5 |
f809969de70700c5881737b614228469
|
|
| BLAKE2b-256 |
e0aedf267af6ecdea79c8acdc64b528694cf48c8ad4700eadd0a436d0b4af883
|