From a2d37c49c203ca2470580e978390e897740f927a Mon Sep 17 00:00:00 2001 From: vrenaville Date: Fri, 29 Apr 2022 10:07:46 +0200 Subject: [PATCH] fix: add gatewayports no --- rootfs/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/rootfs/entrypoint.sh b/rootfs/entrypoint.sh index 6260a10..0f722e4 100755 --- a/rootfs/entrypoint.sh +++ b/rootfs/entrypoint.sh @@ -58,6 +58,7 @@ COMMAND="autossh "\ "-o ServerAliveInterval=${SSH_SERVER_ALIVE_INTERVAL:-10} "\ "-o ServerAliveCountMax=${SSH_SERVER_ALIVE_COUNT_MAX:-3} "\ "-o ExitOnForwardFailure=${EXITONFORWARDFAILURE:=yes} "\ +"-o GatewayPorts=no "\ "-t -t "\ "${SSH_MODE:=-R} ${SSH_BIND_IP}:${SSH_TUNNEL_PORT}:${SSH_TARGET_HOST}:${SSH_TARGET_PORT} "\ "-p ${SSH_REMOTE_PORT:=22} "\