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@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@remote, but it is very inelegant.
Thanks!
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev