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.2.tar.gz (1.9 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.2-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: monsterops-1.12.2.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

Hashes for monsterops-1.12.2.tar.gz
Algorithm Hash digest
SHA256 5bd8bf31ca9f255aef41fa0ac6eb4c3cf753698808fd69e5189d5d079859c245
MD5 1aea3dd5bf04d80f36c659fff5b65590
BLAKE2b-256 30a0c7f9d3241f3ba7f46f721df18cf6c9373a70dcf2a645b97038cbf5e97dc7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: monsterops-1.12.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ab1784e582d0b38dc671f155292c09821decc3bdda9a5f6b292d79cfffeb73e1
MD5 62f904346d7c897ef444a0a363d15959
BLAKE2b-256 7671bb3b5f706e7917395cea4decf3d108f4de33a979451a24be2edd7d976108

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