ssh: which side is running the SOCKS proxy?

Posted by Barry Brown on Server Fault See other posts from Server Fault or by Barry Brown
Published on 2012-04-08T06:38:34Z Indexed on 2012/04/08 11:33 UTC
Read the original article Hit count: 265

Filed under:
|

When I set up a tunnel using dynamic forwarding (ssh -D), which side is running the SOCKS proxy? That is, is the proxy running on the local end (client) or the remote end (server)?

Here's the situation: I want to set up several tunnels chained together using -L. Should the -D tunnel be the last one in the chain or the first one?

Edit: I found the answer to the second paragraph on Super User (the -D tunnel should be at the remotest end). But I'd still like to know where the proxy code is running.

© Server Fault or respective owner

Related posts about ssh

Related posts about ssh-tunnel