A modern, high-performance web interface for managing AmneziaWG, Classic WireGuard, Xray (XTLS-Reality), Telemt (Telegram MTProxy), AmneziaDNS, AdGuard Home and SOCKS5 services on remote Ubuntu servers — from a single dashboard. Designed to provide a premium user experience with robust administrative capabilities.
This panel is fully compatible with the official Amnezia applications!
How to connect an existing server:
- Add your pre-configured server by entering its IP address, login and password
- Go to the "Added Servers" section
- Wait for the automatic server verification
- The panel will automatically detect:
- ✅ Installed protocols
- ✅ Existing users
- ✅ Current configuration
⚡ After verification, you can manage the server directly from the panel!
This project is created solely for educational and research purposes.
This project has never been intended for use in jurisdictions where the technologies employed are prohibited. The author bears no responsibility for any unlawful use of this software.
This project merely adds an abstraction layer for managing publicly available applications. All applications belong to their respective owners. This project does not claim ownership over, nor does it modify, any third-party applications.
The use of traffic obfuscation tools may violate the laws of your country. Only use this software for lawful purposes, such as:
- Penetration testing and security research
- CTF (Capture The Flag) competitions
- Academic and scientific research
- Testing and securing your own networks
- Improving defensive security measures
- Educational training in cybersecurity
Nothing in this project constitutes an incitement to violate any applicable laws.
👥 Users Management (click to expand)
User management interface with permissions and access controls:
- ⚡ VPN Protocols:
- AmneziaWG (AWG / AWG 2.0 / AWG Legacy): Advanced WireGuard-based protocol with S3/S4 obfuscation to bypass deep packet inspection (DPI). Three coexisting variants — modern AWG 2.0 with full junk-packet masking, and a legacy variant for older clients.
- Classic WireGuard: Standard, high-performance WireGuard protocol for unmatched speed and broad device compatibility with traffic monitoring support.
- Xray (XTLS-Reality): Stealthy protocol that masks VPN traffic as standard HTTPS browsing. Pinned to Xray-core v26.x; transparently reads both the panel layout (
meta.json+clientsTable.json) and the native Amnezia client layout (xray_*.keyfiles +clientsTable), so a node first installed via the official mobile/desktop app can be attached to the panel without re-installation. - Telemt (Telegram MTProxy): High-performance Telegram MTProxy with TLS emulation and comprehensive management (quotas, IP limits, real-time session tracking). Robust install path that auto-configures Docker's official apt/yum repository when needed.
- 🛠 Services:
- AmneziaDNS: Internal DNS resolver on a private docker network (
amnezia-dns-net, IP172.29.172.254) to prevent DNS leaks and blockings. - AdGuard Home (new): DNS-based ad blocker with a web admin UI. Two install modes: Replace AmneziaDNS (takes its IP, all VPN clients use AdGuard immediately) or Side-by-side (parallel deployment on
172.29.172.253, web UI accessible only over the VPN by default). Optional opt-in checkboxes to expose the web UI / DoT / DoH on the host. - SOCKS5 Proxy (new): Single-account 3proxy-based SOCKS5 server modelled after the official Amnezia client. Auto-generated 16-character password on install, port and credentials editable later from the panel without re-install.
- AmneziaDNS: Internal DNS resolver on a private docker network (
- ⚙️ Core Server Management:
- Add / Edit / Delete / Reorder server entries — drag-and-drop reorder updates
server_idreferences in saved connections automatically. - Live ping indicator next to each server name — non-blocking TCP-connect probe to the SSH port, runs on the asyncio loop in parallel for all servers.
- Clear server wipes every Amnezia-related container, image and
/opt/amneziadirectory in a single sudo script — works for any current or futureamnezia-*protocol. - Reboot the server directly from the UI.
- Strictly concurrent protocol status polling — all 9 protocols/services checked in parallel for immediate feedback.
- Asynchronous Processing: Resilient, non-blocking background architecture prevents the UI panel from freezing, even if remote endpoints hang.
- Add / Edit / Delete / Reorder server entries — drag-and-drop reorder updates
- 🌐 Internationalization (i18n):
- Full support for English, Russian, French, Chinese, and Persian.
- Native RTL (Right-to-Left) support for Persian language.
- 👥 Advanced User Management:
- Role-based access (Admin, Support, Regular User).
- Traffic limits, status monitoring, and account expiration.
- One-click user enabling/disabling.
- 🎨 Premium UI/UX:
- Stunning glassmorphism design.
- Dynamic Dark/Light mode transition.
- Fully responsive for mobile and desktop.
- 🤖 Telegram Bot Integration:
- Notify users about new connections or limits.
- Integrated management via Telegram commands.
- 🔄 Built-in Update Checker:
- View your current panel version directly in Settings.
- One-click check for fresh GitHub releases to stay up to date.
- 📤 Data Interoperability:
- Remnawave Sync: Automatically import and sync users from Remnawave.
- Simple Backup: Effortless JSON-based export and restore of all panel data.
- 🔗 Public Sharing:
- Generate password-protected links for users to download their configurations without panel access.
- 🔑 API Tokens for External Integrations (new):
- Issue bearer tokens from
/settingsfor CI bots, monitoring, or any third-party service. - Panel never stores the raw token — only its SHA-256 hash. The full value is shown once at creation; lose it and you must rotate.
- Tokens inherit the role of the admin who created them and are revoked automatically if that user is disabled or demoted.
- Send
Authorization: Bearer <token>with any admin endpoint — every endpoint that accepts a session also accepts a token, no other changes.
- Issue bearer tokens from
If you require any custom features not currently available in the panel, let us know – we'll implement them quickly!
- Database Support: PostgreSQL, MySQL/MariaDB, SQLite, Oracle, and MS SQL Server
- In-Panel File Editor: Edit configuration files inside containers directly from the web interface
- Backup & Restore nodes/protocols: Comprehensive backup solutions for nodes and protocols
- Protocol Migration: Seamlessly move protocols between nodes
- Xray Self-Steal Mode: Advanced Xray configuration with self-steal functionality
- And much more!
Or better yet, contribute!
- Python 3.10+
- Target servers: Ubuntu 20.04/22.04/24.04 (Architecture: x86_64 or ARM64).
- SSH access to target servers (Password or Private Key).
-
Clone the repository:
git clone https://github.com/PRVTPRO/Amnezia-Web-Panel.git cd Amnezia-Web-Panel -
Set up Virtual Environment:
python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate
-
Install Dependencies:
pip install -r requirements.txt
Launch the application:
python app.pyThe panel will be accessible at http://localhost:5000.
Download and run the executable file for your system.
Windows
Linux
Mac
https://hub.docker.com/r/prvtpro/amnezia-panel
- Username:
admin - Password:
admin
Important
Secure your panel by changing the default password in the Users section immediately after first login.
The project includes self-documenting API endpoints, organised into clear tag groups:
- Swagger UI:
/docs - ReDoc:
/redoc(pinned to a stable bundle, Google Fonts disabled — works on networks where they're blocked)
Routes are grouped in the docs as:
| Group | Purpose |
|---|---|
| System Templates | HTML pages served to browsers (login, server detail, settings, /share). Not part of the JSON API. |
| Authentication | Login, captcha, session lifecycle. |
| Servers | Server inventory & host-level operations (add/edit/delete, ping, reorder, reboot, clear, stats). |
| Protocols | Install / uninstall / container / raw-config editing for every protocol & service on a server. |
| Connections | Per-protocol VPN client connections (CRUD, enable/disable, fetch config). |
| Users | Panel user accounts and the connections assigned to them. |
| Self-service | Endpoints called by a regular user for their own data (/api/my/*). |
| Sharing | Public, token-protected configuration sharing — no panel session required. |
| Settings | Panel-wide settings, Telegram bot, Remnawave sync, JSON backup/restore. |
| API Tokens | Create and revoke bearer tokens for external integrations. |
Authentication for external integrations — both session cookies and Authorization: Bearer <token> are accepted on every admin endpoint. Example:
TOKEN="awp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
# List panel users
curl -H "Authorization: Bearer $TOKEN" http://your-panel:5000/api/users
# Add a server
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"host":"1.2.3.4","username":"root","password":"...","name":"new-srv"}' \
http://your-panel:5000/api/servers/add
# Cheap reachability probe for monitoring
curl -H "Authorization: Bearer $TOKEN" http://your-panel:5000/api/servers/0/ping- Backend: FastAPI (Python),
asynciofor concurrent SSH/probe work - Frontend: Vanilla JS, Jinja2, Custom CSS (Glassmorphism, full set of CSS animations for promo blocks)
- Database: Local JSON storage (
data.json) with anasyncio.Lockfor thread-safe writes - SSH Engine: Paramiko
web-panel/
├── app.py # FastAPI entry point + all routes
├── telegram_bot.py # Optional Telegram bot integration
├── managers/ # Protocol & service managers (one file per protocol)
│ ├── ssh_manager.py # SSH abstraction (Paramiko wrapper)
│ ├── awg_manager.py # AmneziaWG / AWG 2.0 / AWG Legacy
│ ├── wireguard_manager.py # Classic WireGuard
│ ├── xray_manager.py # Xray-core (VLESS-Reality)
│ ├── telemt_manager.py # Telegram MTProxy
│ ├── dns_manager.py # AmneziaDNS (Unbound)
│ ├── adguard_manager.py # AdGuard Home
│ └── socks5_manager.py # 3proxy-based SOCKS5
├── static/ # CSS / favicon / vendored JS
├── templates/ # Jinja2 templates
├── translations/ # en / ru / fr / zh / fa
└── data.json # Panel state (servers, users, tokens, settings)
- Reverse Proxy: It is highly recommended to run the panel behind Nginx/Apache with an SSL certificate.
- SSH Keys: Use SSH keys rather than passwords for connecting to your VPN servers.
- Secret Key: Set a custom
SECRET_KEYenvironment variable for secure session management. - API Tokens: Treat each token like a password — store it in your integration's secret manager. Revoke it from
/settingsif it leaks or the integration is decommissioned. Rotate periodically; tokens inherit admin rights.
Contributions are welcome! Please feel free to submit Pull Requests or open Issues for feature requests and bug reports.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Built with ❤️ for the Amnezia community.


