Commit Graph

33 Commits

Author SHA1 Message Date
infosave2007 809b0ca63d feat(migrations): Add WARP auto-integration with redsocks and iptables
- Implemented migration 067 to set up Cloudflare WARP with automatic routing for VPN client TCP traffic through a redsocks proxy.
- Included installation scripts for WARP and redsocks, along with iptables rules for traffic redirection.
- Added detection for X-Ray and patching of its outbound configuration.
- Created uninstall scripts to clean up configurations and remove installed packages.

fix(migrations): Enhance WARP install script for heredoc compatibility

- Implemented migration 068 to fix nested heredoc conflicts and streamline the WARP installation script for panel compatibility.
- Removed duplicate `set -eo pipefail` and adjusted formatting for better readability.

feat(migrations): Auto-detect AIVPN subnet for routing in WARP setup

- Implemented migration 069 to enhance the WARP installation script by adding detection for AIVPN subnets alongside existing AWG container detection.
- Updated routing logic to handle both container IPs and host-level VPN subnets.
- Ensured proper configuration of iptables for seamless traffic routing through the WARP proxy.
2026-04-25 10:40:21 +03:00
infosave2007 f04f9dd1cb refactor: enhance SSH command handling and auto-detect sudo requirements for Docker commands 2026-04-24 16:15:04 +03:00
infosave2007 a8bb70a58f fix: prevent secondary protocols from overwriting primary server configuration data 2026-04-23 18:31:05 +03:00
infosave2007 b99783e40f fix: prioritize protocol metadata container name over server data during protocol installation 2026-04-23 18:04:20 +03:00
infosave2007 6006628f64 feat: add multi-protocol support for AWG2 with dynamic tool selection and configuration path resolution 2026-04-23 18:00:09 +03:00
infosave2007 8fd8dd092c feat: implement AIVPN host binary fallback and update installation script for prebuilt binary 2026-04-21 18:56:05 +03:00
infosave2007 c1282a058d feat: add install_protocol field and server_protocols entry in save method 2026-04-20 20:55:24 +03:00
infosave2007 c29162ddb9 feat: add support for AWG2 QR code generation and vpn:// URL configuration 2026-04-20 19:52:33 +03:00
infosave2007 08e0a3499c feat: update AWG2 configuration handling in InstallProtocolManager and VpnClient 2026-04-20 18:25:35 +03:00
infosave2007 5d88728333 feat: enhance AWG2 support with additional parameters and backward compatibility improvements 2026-04-15 20:26:48 +03:00
infosave2007 191f85562a feat: implement container name resolution and persistence for AIVPN servers 2026-04-11 11:11:18 +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 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 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 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 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 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 1c95b34cf6 feat: Enforce 1 user 1 connection for X-ray and fix active stats speed 2026-01-30 15:04:23 +03:00
infosave2007 da9ef48f76 feat: Реализован API для удаления клиентов, добавлен отладочный скрипт статистики XRay и метод InstallProtocolManager::install сделан публичным. 2026-01-27 16:15:00 +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 f51606b6f7 Feat: Auto-sync existing clients to AmneziaWG server (Fix) 2026-01-24 20:43:55 +03:00
infosave2007 a92a12073f Fix: Case-sensitive AWG params and XRay Identifier logic 2026-01-24 20:34:07 +03:00
infosave2007 86d67226d5 Fix: Client deletion UI, Enable XRay stats, fix dns_servers schema 2026-01-24 19:53:23 +03:00
infosave2007 57e331239c feat(xray): Implement universal client addition with fallback
- Added InstallProtocolManager::addClient and fallback logic for X-Ray VLESS
  to update server configuration (server.json) and restart container.
- Updated VpnClient::create to invoke InstallProtocolManager::addClient for
  scripted protocols, enabling dynamic user addition.
- Ensured UUID generation for X-Ray clients.
2026-01-24 14:08:43 +03:00
infosave2007 bbab877eac feat: ssh auth, protocol management, and cleanup 2026-01-23 17:55:40 +03:00