[feature request] Reverse socks proxy

George Shuklin george.shuklin at gmail.com
Thu Dec 10 06:04:11 AEDT 2015


Hello.

OpenSSH has -D option to create socks proxy (take local traffic and send 
it from remote machine). But sometimes there is an opposite problem: to 
allow apps on remote machine send traffic from local machine (for 
example, to get access to intranet resources).

Expected syntax (I use -B as fist unused letter, plus it may be 
memorized as 'back'):

ssh -B 127.0.0.1:1080 user at remote_server

Creates a socks proxy for remote machine, all requests on remove machine 
coming to 127.0.0.1:1080 are served by local ssh client.

Right now it can be implemented as combination of ssh -D 1080 localhost 
&; ssh -R 127.1:1080:127.1:1080 user at remote, but it is very inelegant.

Thanks!


More information about the openssh-unix-dev mailing list