Skip to main content

A self-hosted network operations platform built around FreeRADIUS

Project description

MonsterOps — Monitor. Manage. Automate.

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/radusergroup CRUD, 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_KEY from 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

monsterops-1.12.0.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

monsterops-1.12.0-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

Details for the file monsterops-1.12.0.tar.gz.

File metadata

  • Download URL: monsterops-1.12.0.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for monsterops-1.12.0.tar.gz
Algorithm Hash digest
SHA256 68cee41144603a9beb4460bf8ca7db3a113496a539a6eafd1574f35716640477
MD5 1ae3109107c73c8cb7550b91e427b83d
BLAKE2b-256 57adc34d4278aae119d5d8b0fd5b988df4dedf51bc8273be4334c442d6db641c

See more details on using hashes here.

File details

Details for the file monsterops-1.12.0-py3-none-any.whl.

File metadata

  • Download URL: monsterops-1.12.0-py3-none-any.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for monsterops-1.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea7ea755137b412c08c2afa74d435fba2ad2b63bf8acd0fa406542a5c677a3b6
MD5 78093c6e52521ce03902daec01980d07
BLAKE2b-256 8ce25e522ab37c8b986ec49f41c3ff5a591edb1b0407a79cfa59b91ccc8e0524

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page