From 904352a0777270227877a8e978c1ea7f8814fc84 Mon Sep 17 00:00:00 2001 From: director Date: Tue, 27 Oct 2026 16:11:42 +0300 Subject: [PATCH] 3x-ui: publish the local proxy port 10808 on the host loopback The telegram control channel reaches Telegram through the node outbound telegram-edge-of-truth: the panel's inbound host-egress listens on 10808 inside the container. Publishing it on 127.0.0.1 only lets host processes use it (curl -x socks5h://127.0.0.1:10808) without exposing it to the LAN. The change was live in the running container but uncommitted; committed by the director on the owner's instruction (E.2, 2026-10-27) so the next rebuild does not silently drop it. --- modules/containers/3x-ui.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/containers/3x-ui.nix b/modules/containers/3x-ui.nix index 99a1ea0..61239b8 100644 --- a/modules/containers/3x-ui.nix +++ b/modules/containers/3x-ui.nix @@ -29,6 +29,12 @@ let "127.0.0.1:2049:2049/tcp" "127.0.0.1:2096:2096/tcp" "0.0.0.0:8443:8443/tcp" + # Local proxy (socks5 + http) into the node outbound + # `telegram-edge-of-truth`: the panel's inbound `host-egress` listens on + # this port inside the container. Published on the host loopback only, so + # ordinary host processes can use it (`curl -x socks5h://127.0.0.1:10808`) + # without exposing it to the LAN. + "127.0.0.1:10808:10808/tcp" ]; # VDS-only: nginx stream forwards host:443 → 127.0.0.1:15380 → # container:443, so Xray sees its REALITY inbound on port 443.