Files
mirror-3x-ui/internal/web
Aleksey Fedorov 83535c74e6 fix(amneziawg): check forwarded ports against the port the panel listens on (#7090)
The web server listens on XUI_PORT when it is set and valid, but the
AmneziaWG forwardedPorts conflict check read only the stored webPort.
With XUI_PORT set, a forward on the real panel port passed the check and
could never bind, while a forward on the unused stored port was refused.

The XUI_PORT-over-webPort rule now lives in SettingService.GetListenPort,
which both the web server and the conflict check use.
2026-11-23 23:36:13 +03:30
..