27 lines
673 B
Markdown
27 lines
673 B
Markdown
|
|
# 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
|
||
|
|
|
||
|
|
# Run
|
||
|
|
python3 main.py
|
||
|
|
# Swagger UI available at http://localhost:8000/docs
|
||
|
|
```
|
||
|
|
|