Answer the question
In order to leave comments, you need to log in
Why is ssh tunnel not working?
Good evening, I have a VDS and my PC with a gray IP, I'm trying through the tunnel in putty, forwarding port 3128 to my 80. In the source port, I put 3128 in Destination 192.168.1.100:80 Local Auto, connect, enter the root and password. I go to ipvds:3128, nothing works. What am I doing wrong?
Answer the question
In order to leave comments, you need to log in
First, if openssh is there, then such a trick is prohibited on the server by default; you need to set the GatewayPorts setting of the ssh server to "clientspecified" or "yes" (preferably the first one).
Secondly, the settings in Putty need to be changed: select "Remote" instead of "Local", check the box "Remote ports do the same", and in Destination it is better to use the loopback address (i.e. write "127.0.0.1:80" ).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question