Files
OpenVPN-Monitoring-Simple/APP_PROFILER/README.md
T

29 lines
833 B
Markdown
Raw Normal View History

2026-01-28 22:37:47 +03:00
# OpenVPN Profiler Module (`APP_PROFILER`)
The **Profiler** module is a FastAPI-based service (`port 8000`) dedicated to management tasks:
- Public Key Infrastructure (PKI) management (EasyRSA wrapper).
- Client Profile (`.ovpn`) generation.
- Server Configuration management.
- Process control (Start/Stop OpenVPN service).
## Documentation
- **API Reference**: See `DOCS/Profiler_Management/API_Reference.md`.
- **Overview**: See `DOCS/Profiler_Management/Overview.md`.
## Quick Start (Dev)
```bash
# Setup
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# JWT key (required, no built-in default; at least 32 characters). Must be the same value as for APP_CORE
export OVPMON_API_SECRET_KEY=$(openssl rand -hex 32)
2026-01-28 22:37:47 +03:00
# Run
python3 main.py
# Swagger UI available at http://localhost:8000/docs
```