You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking of transforming the tunnelOptions config variable into an array, and iterating it so you could create as much as tunnels as you need internaly, and call "conn.forwardOut" (line 80) for every entries.
This came up in the 4.x version already. The problem I see is that you need to open the ports on your local machine as well.
So for the setup you describe, I guess we need multiple tcp server, multiple forwards but only one ssh connection.
In fact I am having kind of the same requirement in one of my experiments where I would like to bind all ports from a kubernetes (or docker cluster) from a remote machine to my local one.
I think that goes into the same direction as your request.
I am reviewing the code one more time, and see how we could prepare the lib to do such thing.
Hi,
Is there a way to have multiple ports forwarding with this lib ?
Thank you
The text was updated successfully, but these errors were encountered: