Re: legacy behavior: bind to all local addresses (General questions)
Kreso,
tunnel.channel.add (0, 127.0.0.1, 1234, remotehost, 1234) binds to 127.0.0.1:1234 and forwards to remotehost:1234.
tunnel.channel.add (0, 0.0.0.0, 1234, remotehost, 1234) binds to no local address.
Legacy clients only provide -L port:remotehost:port and bind to all available local addresses.
I liked this feature too, my suggestion was to use 0.0.0.0 to indicate wodSSHTunnel shall bind to all local addresses.
I am not sure if that is more clear?
Rainer