From 7e447000b4767ead8eca2ebb59ea2cef2ff6cf57 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Mon, 19 Jul 2021 20:04:35 -0400 Subject: [PATCH] fix(cgi-bin): use unspecified instead of loopback address in SSH tunnel --- tools/striker-open-ssh-tunnel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/striker-open-ssh-tunnel b/tools/striker-open-ssh-tunnel index 7af7575d..bd0323f8 100755 --- a/tools/striker-open-ssh-tunnel +++ b/tools/striker-open-ssh-tunnel @@ -81,7 +81,7 @@ WHERE hos.host_name = ".$anvil->Database->quote($target)." } $ssh_fh->system({ ssh_opts => [ "-O", "forward", - "-L".$forward_local_port.":localhost:".$forward_remote_port ] }); + "-L0.0.0.0:".$forward_local_port.":0.0.0.0:".$forward_remote_port ] }); return 0; }