From 8320d4dd06e128e959782ed4d9127c5cc12d5115 Mon Sep 17 00:00:00 2001 From: anten-ka Date: Fri, 6 Mar 2026 18:50:49 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D1=83=D0=B1=D1=80=D0=B0=D0=BD=20-t=201.?= =?UTF-8?q?0.0.1=20(mtg=20=D0=BF=D0=B0=D1=80=D1=81=D0=B8=D0=BB=20=D0=BA?= =?UTF-8?q?=D0=B0=D0=BA=20--timeout,=20=D0=BA=D0=BE=D0=BD=D1=82=D0=B5?= =?UTF-8?q?=D0=B9=D0=BD=D0=B5=D1=80=20=D0=BF=D0=B0=D0=B4=D0=B0=D0=BB)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Made-with: Cursor --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index cf2e60e..37f22e4 100644 --- a/install.sh +++ b/install.sh @@ -253,7 +253,7 @@ menu_install() { -p "$PORT":"$PORT"/tcp \ -p "$PORT":"$PORT"/udp \ nineseconds/mtg:2 simple-run \ - -n 1.1.1.1 -t 1.0.0.1 -i prefer-ipv4 \ + -n 1.1.1.1 -i prefer-ipv4 \ 0.0.0.0:"$PORT" "$SECRET" > /dev/null 2>&1 if ! proxy_is_running; then @@ -738,7 +738,7 @@ async def do_install(update, ctx): await sh("docker","rm",CONTAINER_NAME, timeout=10) code, _, err = await sh("docker","run","-d","--name",CONTAINER_NAME,"--restart","always", "-p",f"{port}:{port}/tcp","-p",f"{port}:{port}/udp", - "nineseconds/mtg:2","simple-run","-n","1.1.1.1","-t","1.0.0.1","-i","prefer-ipv4", + "nineseconds/mtg:2","simple-run","-n","1.1.1.1","-i","prefer-ipv4", f"0.0.0.0:{port}",secret, timeout=90) if code != 0: await chat.send_message(f"❌ Запуск контейнера: {err}"); return save_config({"domain":domain,"port":port,"secret":secret})