Commit Graph

129 Commits

Author SHA1 Message Date
infosave2007 5eb07078ec Merge feature/ssh-auth-draft into master — release v2.0.0 2026-04-04 18:13:12 +03:00
infosave2007 8c4e7f65e7 feat: add available protocols section to README for better clarity 2026-04-04 18:07:55 +03:00
infosave2007 3a1cfb1856 feat: enhance Docker command execution with improved error handling and path management 2026-04-04 17:22:38 +03:00
infosave2007 b0da2c300d feat: update installation instructions for SQL migrations with improved clarity and consistency 2026-04-04 16:38:11 +03:00
infosave2007 ce3d74e49e feat: enhance client speed metrics visualization with improved data processing and responsive table layout 2026-04-04 16:32:14 +03:00
infosave2007 d6eda37ebd feat: enhance ServerMonitoring to resolve container names based on protocol and improve client metrics handling 2026-04-04 16:24:21 +03:00
infosave2007 bb960645d7 feat: enhance VpnClient to support multi-protocol metadata and improve key generation error handling 2026-04-04 16:15:10 +03:00
infosave2007 1574f54bef feat: enhance AWG2 protocol handling by adding config directory management and fixing empty peer block in install script 2026-04-04 16:02:11 +03:00
infosave2007 51d5d13c41 feat: enhance SQL migration handling and add Docker installation instructions for remote servers 2026-04-04 15:48:15 +03:00
infosave2007 ecaae6c18a feat: synchronize MTProxy client links with current runtime configuration after reinstall 2026-04-04 15:35:59 +03:00
infosave2007 c38c3d1c83 feat: Add AIVPN support and enhance client statistics tracking
- Introduced AIVPN server detection and statistics fetching in ServerMonitoring.
- Implemented AIVPN client statistics handling in VpnClient, including raw and offset counters for traffic.
- Enhanced AWG parameters to include S3 and S4.
- Updated database schema to accommodate new AIVPN statistics fields.
- Added a script for remote reset and reinstallation of protocols.
- Improved client view template to ensure proper display of connection instructions.
- Added translations for connection instructions in multiple languages.
- Ensured host-level NAT for AWG subnet in VpnServer.
2026-04-04 15:27:40 +03:00
infosave2007 da5cdc6ae8 feat: add AWG2 protocol support and enhance API documentation for protocol management 2026-04-04 13:59:37 +03:00
infosave2007 da72a5b3ed feat: enhance VpnClient and VpnServer for improved command execution and configuration handling 2026-04-04 12:45:04 +03:00
infosave2007 fc187ba819 feat: update AIVPN migration script to output connection variables for web panel parsing 2026-04-04 11:02:06 +03:00
infosave2007 488da396a7 fix: mount necessary configuration and data directories to protocol container 2026-04-04 10:47:26 +03:00
infosave2007 3562d8950a feat: configure docker-in-docker container with host networking and custom daemon settings 2026-04-04 10:31:15 +03:00
infosave2007 65e6a2dd0b feat: add support for awg2, mtproxy, and aivpn protocols, and implement user role-based access control. 2026-04-04 09:56:49 +03:00
infosave2007 7372a7933e fix:max logs MySql 2026-02-25 06:57:04 +03:00
infosave2007 27bfc352d4 feat: Add missing translations for protocol management UI and update protocol visibility 2026-02-14 18:23:57 +03:00
infosave2007 85ff5b2502 feat: Update client IP handling for X-Ray configuration and enable text content display by default 2026-02-14 11:39:04 +03:00
infosave2007 f6a854f5ab feat: Allocate proper IP address for clients and expose getNextClientIP method 2026-02-13 20:40:04 +03:00
infosave2007 12ac52e88d feat: Load environment configuration in metrics collector 2026-02-13 20:34:11 +03:00
infosave2007 e12f923aff feat: Add protocol_id to VPN clients insertion logic 2026-02-13 20:13:57 +03:00
infosave2007 444e64a50a feat: Update client insertion logic to use name/email instead of login 2026-02-13 19:37:41 +03:00
infosave2007 5172e43fc1 feat: Enhance protocol detection and restoration for AWG and X-Ray installations 2026-02-13 19:01:00 +03:00
infosave2007 327ebd85e9 feat: Enhance online client tracking by including recent handshake counts for WireGuard/AWG 2026-02-05 19:34:02 +03:00
infosave2007 09baa19a09 feat: Enforce single IP per peer for AWG/WireGuard connections 2026-01-30 22:14:09 +03:00
infosave2007 77398b5000 feat: Enforce single IP per user for Xray servers and update protocol checks 2026-01-30 21:45:05 +03:00
infosave2007 3ec6b8cd8b feat: Add real-time online client status updates for servers 2026-01-30 21:23:57 +03:00
infosave2007 66bd218aec feat: Add online clients tracking and display on dashboard and server views 2026-01-30 21:07:30 +03:00
infosave2007 28a6de5697 feat: Implement single IP enforcement for Xray VLESS protocol with online tracking 2026-01-30 20:09:39 +03:00
infosave2007 e90e3a8df2 fix traffic reboot 2026-01-30 19:27:02 +03:00
infosave2007 f4fa6ec941 fix: Do not inherit client_id from server protocols (prevents duplicate UUIDs) 2026-01-30 15:58:15 +03:00
infosave2007 1627fc105e fix: Prevent X-ray client UUID reuse 2026-01-30 15:38:18 +03:00
infosave2007 77115fb2a0 fix: Cleanup debug logging in ServerMonitoring 2026-01-30 15:30:32 +03:00
infosave2007 11ab3cbc88 fix: Add X-ray support to ServerMonitoring for background stats collection 2026-01-30 15:21:32 +03:00
infosave2007 0b759f7b32 fix: Update vpn_clients speed columns in ServerMonitoring for real-time display 2026-01-30 15:14:29 +03:00
infosave2007 1c95b34cf6 feat: Enforce 1 user 1 connection for X-ray and fix active stats speed 2026-01-30 15:04:23 +03:00
infosave2007 8bf3467460 feat: Added readme API new endpoints 2026-01-29 08:56:28 +03:00
infosave2007 da9ef48f76 feat: Реализован API для удаления клиентов, добавлен отладочный скрипт статистики XRay и метод InstallProtocolManager::install сделан публичным. 2026-01-27 16:15:00 +03:00
infosave2007 836b4bdb84 cleanup: remove duplicate amnezia-wg protocol from migration
Only amnezia-wg-advanced should be used (installed via migration 044).
The simple amnezia-wg was a duplicate causing confusion.
2026-01-27 15:33:57 +03:00
infosave2007 ed2cf87418 fix(awg): reload wg0 interface after adding client to apply AWG params
Without interface reload, AWG obfuscation params (Jc, S1, S2, H1-H4) are not
applied to the kernel, and connections fail because client uses AWG but
server uses standard WireGuard protocol.
2026-01-27 15:17:16 +03:00
infosave2007 3dae76c41a fix(awg): reserve server gateway IP (.1) in client IP assignment
Previously only .0 was reserved, causing first client to get 10.8.1.1 (server IP).
Now both .0 and .1 are reserved, clients start from 10.8.1.2.
2026-01-27 15:12:49 +03:00
infosave2007 ddaf9360be fix(awg): fix AWG Advanced install script - create container before generating keys
- Container now starts FIRST with docker run, then wg genkey is called inside it
- After config creation, explicitly reload wg0 interface with 'ip link del wg0' + 'wg-quick up'
- This ensures AWG obfuscation parameters (Jc, S1, S2, H1-H4) are applied to kernel
- Removed duplicate 'amnezia-xray' protocol from migration 047
2026-01-27 14:46:38 +03:00
infosave2007 dad3aa93f4 feat: XRay Reality key backup and restoration
- Modified migrations/048_enable_xray_stats.sql to accept existing keys via env vars (PRIVATE_KEY, SHORT_ID)
- Updated InstallProtocolManager.php to extract and store reality_private_key after XRay installation
- Added key restoration logic in buildExports() to reuse saved keys during reinstallation
- Fixed VpnClient.php to correctly parse JSON stats output from XRay API
- Security fix: removed exposed port 2375 from docker-compose.yml (dind container)
2026-01-26 21:41:26 +03:00
infosave2007 904d725c7b Fix: Read keys from host file in sync script to prevent container deadlock 2026-01-24 21:36:13 +03:00
infosave2007 94be6f9b2f Fix: Add missing $ in sync script and skip invalid clients 2026-01-24 21:16:57 +03:00
infosave2007 f51606b6f7 Feat: Auto-sync existing clients to AmneziaWG server (Fix) 2026-01-24 20:43:55 +03:00
infosave2007 373a987063 Add script to sync clients from DB to AmneziaWG server 2026-01-24 20:39:20 +03:00
infosave2007 a92a12073f Fix: Case-sensitive AWG params and XRay Identifier logic 2026-01-24 20:34:07 +03:00