开发者

How do i tunnel from local to external apache

开发者 https://www.devze.com 2023-01-28 17:30 出处:网络
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 tryin

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, dynami开发者_StackOverflowc 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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消