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})