27
14
ssh -D
can make a socks port at local machine, which pass the traffic to the remote, then to other places.
ssh -L port:host:hostport
, listen port at local machine, pass the traffic to "host:hostport" from the point of view of the remote machine.
ssh -R port:host:hostport
is the counterpart of ssh -L
, which listen port at remote machine, and pass the traffic to "host:hostport" from the point of view of the local machine.
But what is the counterpart of ssh -D
, i.e., how to open a socks port at remote machine, which will pass the traffic to the local, then to other places?
1
the question loses value because you accepted an answer that doesn't and cannot work. This(which the answerer mentioned in comment) does it though http://stackoverflow.com/questions/842021/ssh-d-port-usernameserver-com-but-in-reverse
– barlop – 2015-06-06T22:05:05.253