I'm trying to use a SOCKS proxy to forward the traffic from my Windows machine to a Linux machine. The Linux machine is running an ssh server (on a different network) on a port I'll call 2222. To get this to work, I had to go into my router settings and set up port forwarding for that.
Currently, I'm trying to get PuTTY's SOCKS proxy to work, but traffic isn't going through. According to the tutorials I've found online, in the Tunneling menu you're supposed to give a random port, such as 8888 for example.
Is this random port used on the client's side or is it server-side and something I would need to setup in my router's forwarding settings?
Also, is there any advantage to use PuTTY instead of starting a proxy with the ssh command directly?
Is this random port used on the client's side or…?– Compare this. Your PuTTY acts likesshin the linked answer. So yes, SOCKS proxy opens the port on the client (PuTTY) side. Then you need to point software that talks SOCKS to this port. – Kamil Maciorowski Jan 30 '20 at 16:04Then you need to point software that talks SOCKS to this portthis would be for example a web browser that is told to uselocalhoston port8888, right? – Luke Thistlethwaite Jan 30 '20 at 16:59