Ssh – Putty – Share a SSH Tunnel to other computers on LAN

ssh

I have a Windows workstation that has established an SSH connection to a remote server using Putty. From that workstation, I can tunnel stuff through the SSH tunnel, including a HTTP proxy that is running on the SSH server

I'm wondering, is it possible to enable other computers in the same subnet as the workstation to connection to that workstation, and use its SSH tunnel/HTTP proxy?

I tried using the "Local ports accept connections from other hosts" option in Putty, but I still get a connection refused when I try to connect from other boxes to the Windows workstations.

What is the proper way to configure this, so that I can share the HTTP proxy via SSH tunnel?

Cheers,
Victor

Best Answer

This is dependend which settings you used for the tunnels.

Forget the crap which I wrote. Go with settings like these but point the destination to the proxy server like you already did before I told you otherwise.

tunnel settings

After initiating the tunnel use netstat -a and look if the port is openend correctly under the address 0.0.0.0.

$ netstat -a | find "3025"
  TCP    0.0.0.0:3025           pacey-PC:0            ABHÖREN
  TCP    [::]:3025              pacey-PC:0            ABHÖREN

You can also check the eventlog in the putty menu.