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} "\