A SOCKS proxy allows supported aplications to tunnel their connection through a remote, third party server using SSH connection. This allows your traffic to seem to originate from the the remote server though it's not implemented in the system level as a VPN would.

A SOCKS proxy could be created between an SSH client and an SSH server with AllowTcpForwarding enabled. A Windows SOCKS proxy can be created using the freely available PuTTY program from your local host to an OpenSSH server.

Steps to create SOCKS proxy using PuTTY:

  1. Download PuTTY from the official website.
  2. Launch PuTTY.
  3. Go to ConnectionSSHTunnels from the category menu.
  4. Enter the port number that you want the SOCKS proxy to listen to in the Source port field.

    Use unprivileged port which is from 1024 to 65535

  5. Make sure Auto and Dynamic radio buttons are selected.
  6. Click on Add button.
  7. Go to Session from the category menu.
  8. Enter the Host Name / IP address and Port of the server that you want to create a tunnel to and click on the Open button.
  9. Log in to the server with valid credential.
  10. Configure your applications to connect to the newly created SOCKS proxy running on the selected port using SOCKS5 option.
Discuss the article:

Comment anonymously. Login not required.