Question

I'm trying to set up a ssh tunnel using putty so i can view websites which are at my work location. The remote development server (apache) does not accept any incoming calls on port 80, so i'm trying to tunnel through ssh which should work since i'm able to login to my shell account.

I'm using putty 0.60, In my settings ive added a new rule at connection -> tunnels Ive added source port 80, Destination: remote.domain:80, i tried setting the radio buttons to local, remote, dynamic and the 2nd line to auto, still doesnt seem to work.

Do i need to add something to my windows host file to make apache accept the request? Any idea's?

Was it helpful?

Solution

Destination should be localhost:80. This is where the remote port is forwarded to.

Then in your hosts file reroute remote.domain to 127.0.0.1.

That should give you access.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top