Commit Graph
8 Commits
Author SHA1 Message Date
AlmeonamyandClaude Opus 5 959ec78e3e feat(protocols): per-instance public address for client endpoints
Every config and link the panel issues carried the address it opens SSH
to. That is not always where clients can reach the instance: a second IP
on the same box, a port forward, a domain name. Telemt made it worse --
it prints its own tg:// links, and install rewrote public_host in
config.toml with the panel's address, so a manually bound instance
handed out links to the wrong endpoint after every reinstall.

An instance record now carries optional public_host/public_port, set
from the globe button on its card or via
POST /api/servers/{id}/protocol/public-endpoint. The address flows into
AmneziaWG/WireGuard Endpoints, vless:// and tg:// links, connections
created for a user and self-service provisioning. Unset means exactly
what it meant before: the server address and the instance's listen port.

- telemt: the address is written into config.toml and reloaded without a
  restart; saving with the box down keeps the record and warns
- telemt: _patch_public_links matches the keys line by line -- the old
  pattern could span lines and weld public_host onto the line above
- xray: an explicit public port wins, but meta.json (synced from the
  live server.json) still beats the panel's remembered port
- reinstalling an instance keeps the address, like its exit link

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-18 14:08:54 +07:00
leonidorlov-hash 98e52be62a fix(xray): set bbr instead of hybla in container sysctl tuning
The xray image Dockerfile wrote 'net.ipv4.tcp_congestion_control = hybla'
into /etc/sysctl.conf inside the image. The container runs --privileged
and its start.sh does 'sysctl -p /etc/sysctl.conf', so every container
(re)start pushed hybla onto the HOST, silently overriding the bbr that
setup_host_tuning() and sysctl.d configure. Result: hosts with an xray
instance flip to hybla after every container restart.

Use bbr like the rest of the panel (awg_manager host tuning) does.
2026-09-03 22:05:55 +03:00
Public relations & Virtual technology 6a99e6b599 Merge pull request #83 from leonidorlov-hash/fix-xray-adu-v26
fix(xray): make hot user add work with Xray-core v26 runtime API
2026-08-24 14:34:02 +03:00
leonidorlov-hash 0b5b0033dd fix(xray): make hot user add work with Xray-core v26 runtime API
xray api adu in Xray-core v26 builds a full inbound config from the
payload and silently adds 0 users (exit code 0) when port/listen are
missing. Include the inbound's port and listen in the adu payload and
treat "Added 0 user(s)" output as a failure so the caller falls back
to the restart-required error path instead of reporting success.
2026-08-06 01:37:41 +03:00
leonidorlov-hash 3c4d6dcb32 feat: add rename_client to XrayManager and WireGuardManager 2026-08-05 01:03:09 +03:00
Public relations & Virtual technology dd8bda3ac1 Version 1.5.0
Added Cloudflare WARP support
Added Market Templates
Added Multi-protocol support
Fixed SOCKS5 management
Added NGINX + Let's Encrypt integration
Updated built-in configuration editor
Added Backup / Migrate protocols (Alpha)
Added Admin Telegram bot role
2026-07-09 17:53:38 +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
2026-06-19 19:28:51 +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