57 Commits

Author SHA1 Message Date
Public relations & Virtual technology 0b69465da1 Merge pull request #68 from leonidorlov-hash/fix-awg2-h-ranges
Fix AWG 2.0: generate non-overlapping H-ranges instead of fixed values
2026-07-07 11:02:34 +03:00
Public relations & Virtual technology 240dbb61c3 Merge pull request #70 from anton-knoc/fix/awg2-dynamic-subnet-start-script
Fix: make start.sh read subnet dynamically from server config
2026-07-07 11:02:17 +03:00
anton_k 093c1403ea Fix: make start.sh read subnet dynamically from server config
start.sh was generated once at install time with a hardcoded
10.8.1.0/24 subnet in iptables/NAT rules. When the user changed
the Address field in the server config via the web panel, the
config and client configs updated correctly but start.sh kept
the old subnet — breaking NAT/forwarding for the new network.

Changes:
- start.sh now reads SUBNET from the config file at runtime
  via grep instead of using a compile-time hardcoded value
- save_server_config() regenerates start.sh on every config save
  so existing containers with old hardcoded scripts are fixed
- _get_next_ip() computes the base network address from the
  live config instead of AWG_DEFAULTS

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-03 10:12:41 +03:00
leonidorlov-hash 67c8a042da Fix AWG 2.0 H-parameters: use non-overlapping ranges instead of fixed values
- Changed generate_awg_params() to produce H1-H4 as min-max ranges
  when use_ranges=True (AWG and AWG2 protocols)
- Ranges are guaranteed non-overlapping by splitting [1B, 4.29B] into
  4 equal zones and picking a sub-range within each zone
- This matches the official AmneziaWG 2.0 spec requirement that
  H-ranges must not intersect
- Legacy AWG (use_ranges=False) continues to use fixed single values
- Fixes "Unable to set device configuration" error in AmneziaWG 2.0.1
  Windows client caused by overlapping H-ranges
2026-07-02 00:55:51 +03:00
Public relations & Virtual technology a62f9587ef Add public tunnels and fix protocol connection bugs
Add public tunnel management and fix connection stability issues

- Add Tunnels block to settings with Local Server, Cloudflare Quick Tunnel, and ngrok support
- Implement one-click tunnel install, enable, stop, and delete actions
- Persist tunnel PID and public URL state across panel restarts
- Improve tunnel process detection and cleanup on Windows, Linux, and Docker
- Add tunnel translations and README documentation

- Fix settings save 422 when server list is empty and Remnawave auto-create is disabled
- Fix AWG Legacy config path resolution by detecting actual wg0.conf/awg0.conf inside container
- Fix Xray client add/toggle/remove flow to use runtime API without restarting the container
- Fix WireGuard Show config calls by routing get_client_config through the unified manager adapter
v1.4.4
2026-06-19 19:28:51 +03:00
Public relations & Virtual technology fbe5a2b6c4 Merge pull request #55 from DmitryTeplov182/main
Fix local directory path for Telemt file uploads in telemt_manager.py
2026-06-08 12:38:27 +03:00
DmitryTeplov182 c2217ce1e1 Fix local directory path for Telemt file uploads in telemt_manager.py 2026-06-03 18:15:44 +00:00
Public relations & Virtual technology 7f062abc2c Update build.yml v1.4.3 2026-05-28 18:24:33 +03:00
Public relations & Virtual technology 181144a8e3 Merge pull request #34 from Const-NW/patch-1
Fix user expiration date in users API response
2026-05-05 12:06:33 +03:00
Public relations & Virtual technology 6712412106 Update docker-compose.yml 2026-05-04 21:58:15 +03:00
Public relations & Virtual technology 2437d9cf07 Update docker-compose.yml 2026-05-04 21:57:56 +03:00
Public relations & Virtual technology bdf926641c Update requirements.txt 2026-05-04 21:54:54 +03:00
Public relations & Virtual technology e056841605 Update README.md 2026-05-04 16:08:28 +03:00
Public relations & Virtual technology 64b71ad5d8 Update README.md 2026-05-04 16:03:00 +03:00
Public relations & Virtual technology cd83da8313 Merge branch 'main' of https://github.com/PRVTPRO/Amnezia-Web-Panel 2026-05-04 16:01:11 +03:00
Public relations & Virtual technology 29def95df8 v1.4.3
Add SOCKS5 support
Add AdGuard Home integration
Add node status and latency tracking
Add drag-and-drop server management
Upgrade Xray from v1.8 to v26.3.27 with backward compatibility
Fix Telemt dependency installation
Extend Telegram bot to support all protocols
Improve server cleanup process
Enhance API structure (system routes moved to a separate group)
Add JWT token generation for external integrations
2026-05-04 16:01:06 +03:00
Konstantine Malinin 111d4a98bb Fix user expiration date in users API response
Fix: return expiration_date in /api/users response

The users list API did not include expiration_date, although the frontend expected u.expiration_date for displaying and pre-filling the edit user modal.

Added expiration_date to the user object returned by /api/users, so the subscription expiration date is correctly shown and loaded into the edit form.
2026-05-01 02:59:26 +03:00
Public relations & Virtual technology 5370ae1f88 Update README.md 2026-04-23 10:54:30 +03:00
Public relations & Virtual technology 340138f2ea Fix Modal Telemt
Fix Modal Telemt
v1.4.2
2026-04-16 15:38:34 +03:00
Public relations & Virtual technology 082c4f398a Improved Telemt
1) Improved Telemt request processing.
2) Telemt API support.
2026-04-16 15:14:42 +03:00
Public relations & Virtual technology 8353f3cad7 Update README.md v1.4.1 2026-04-15 17:43:07 +03:00
Public relations & Virtual technology 49250f2f16 Merge branch 'main' of https://github.com/PRVTPRO/Amnezia-Web-Panel v1.4.0 2026-04-15 17:33:12 +03:00
Public relations & Virtual technology 1fd100e4e9 Update v1.4.0
1) Added WireGuard support
2) Xray improved link generation after config updates
3) Added: version display, new version check, download
2026-04-15 17:32:35 +03:00
Public relations & Virtual technology bb91e50e9f Update README.md 2026-04-09 16:54:04 +03:00
Public relations & Virtual technology ee54143b3c Update docker-compose.yml 2026-04-06 18:58:45 +03:00
Public relations & Virtual technology 565c7f8232 v1.3.2
Added a subscription expiration date option for users.
Added support for SSL / HTTPS Settings (Port/Certificate)
Fixed Amnezia configuration.
2026-04-06 18:52:35 +03:00
Public relations & Virtual technology 147ec66649 Merge branch 'main' of https://github.com/PRVTPRO/Amnezia-Web-Panel v1.3.2 v1.3.1 2026-04-02 19:01:41 +03:00
Public relations & Virtual technology 4ba827dd1b Minor inquiries
* Fixed a traffic reset error when creating a user
* The display of connection links for various protocols for the user has been fixed.
* Added menu hiding for users
2026-04-02 19:01:37 +03:00
Public relations & Virtual technology c1cad4c3b7 Update 1.3.0.yml 2026-04-02 13:50:10 +03:00
Public relations & Virtual technology 5b40445442 v1.3.0
* Added support for AmneziaDNS
* Added traffic reset functionality
* Fixed hideConnectionsSection is not defined error and false “Connection Error” when clearing the server
* Added basic management features (restart, delete, poll, clear)
* Fixed AWG 2.0 connection generation
* Optimized Check Server polling speed (now queries all protocols and services in parallel over a single SSH connection; ~5–6x faster)
v1.3.0
2026-04-02 13:43:59 +03:00
Public relations & Virtual technology 5393f9a05f Update docker-compose.yml 2026-03-31 12:37:28 +03:00
Public relations & Virtual technology 7ace85905e Update README.md 2026-03-30 17:11:26 +03:00
Public relations & Virtual technology e71584399c Merge branch 'main' of https://github.com/PRVTPRO/Amnezia-Web-Panel v1.2.0 2026-03-30 17:05:25 +03:00
Public relations & Virtual technology 42f42cc4c6 Support telemt
Integrated Telemt (Telegram MTProxy) protocol support:
Full automated installation via Docker with TLS-emulation support.
Implemented file-based user management in config.toml for configuration persistence.
Integrated internal container API (port 9091) for real-time statistical data collection.
Enhanced User & Connection Management:
Added live traffic monitoring with automatic client disconnection upon reaching data quotas.
Implemented in-panel editing for existing Telemt connections (quotas, IP limits, and expiration dates).
Added support for manual toggling (enable/disable) of proxy users via TOML patching.
2026-03-30 17:05:17 +03:00
Public relations & Virtual technology e6becea2b0 Create docker-compose.yml
Add docker-compose.yml file
2026-03-24 17:01:09 +03:00
Public relations & Virtual technology a69847ec41 Fix Xray Dockerfile v1.1.1 2026-03-24 11:49:54 +03:00
Public relations & Virtual technology 6c4a512a0d Add support AWG 2.0 and other.
* Added support for Amnezia 2.0
* Added support for native installation of Amnezia 2.0
* Added display of messages when attempting to view files created by a native application
* Improved polling of native installation servers while preserving active protocols
* Added editing of the main config file via the web panel
v1.1.0
2026-03-23 14:48:03 +03:00
Public relations & Virtual technology 19bce791a6 Update README.md 2026-03-19 10:56:41 +03:00
Public relations & Virtual technology d4e3d41d0f Update README.md 2026-03-19 10:55:49 +03:00
Public relations & Virtual technology fc6562fe2a Update README.md 2026-03-19 10:44:05 +03:00
Public relations & Virtual technology f2529d765c Update README.md 2026-03-18 16:43:47 +03:00
Public relations & Virtual technology 43ef639a40 Update README.md 2026-03-18 16:42:50 +03:00
Public relations & Virtual technology 8f617c48c1 Update README.md 2026-03-18 16:41:47 +03:00
Public relations & Virtual technology 4eae760acc Update README.md 2026-03-18 16:40:01 +03:00
Public relations & Virtual technology 72e4154450 Update build.yml v1.0.0 2026-03-17 14:06:47 +03:00
Public relations & Virtual technology 4a2fe67e72 Update Github Actions 2026-03-17 14:02:16 +03:00
Public relations & Virtual technology cd3cd3d881 Merge branch 'main' of https://github.com/PRVTPRO/Amnezia-Web-Panel 2026-03-17 13:57:23 +03:00
Public relations & Virtual technology f2563bdb77 Add method download and run one file
* Add GitHub Actions for Win, Linux, MacOS.
* Update app.py for saving data.json with run binary method
* Add building scripts
2026-03-17 13:57:20 +03:00
Public relations & Virtual technology 4bbdb7ae6d Update README.md 2026-03-17 10:08:38 +03:00
Public relations & Virtual technology 83c7b606e0 Update README.md 2026-03-17 10:08:04 +03:00