ProxyChains over SSH - chhwang/devel-note GitHub Wiki

  1. Install ProxyChains via apt.

    sudo apt install -y proxychains

  2. Connect to the proxy server via SSH. Open a SOCKS proxy on local port 1337.

    ssh -D 1337 -N <user>@<host>

    -N means port forwarding only, not executing remote commands.

  3. Write proxychains.conf file under the current directory or /etc.

    [ProxyList]
    socks4 127.0.0.1 1337
    
  4. Execute a command to use the proxy server.

    proxychains <command>

⚠️ **GitHub.com Fallback** ⚠️