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. If you're on Windows you can use freely available PuTTY to create the SOCKS proxy tunnel to an OpenSSH server.

Steps to create SOCKS proxy using PuTTY:

  1. Download PuTTY from the official website.
    https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
  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.
Share this guide!
Discuss the article:

Comment anonymously. Login not required.

Share!