I can create a SOCKS proxy on the local side of an SSH connection using -D
but is there a way to create a proxy on the remote side? If not, why not?
-L
and -R
do port forwarding on the local and remote side respectively.
I can't see why remote SOCKS proxying would not exist.
Asked
Active
Viewed 162 times
1

Tom Ellis
- 111
- 2
1 Answers
1
I don't know about such an option of ssh, but you can get creative and combine -R and -D in two ssh commands like:
ssh -D 4711 localhost&
ssh -R 4711:localhost:4711
Of course you can use any existing SOCKS proxy instead of the first line.

TomTomTom
- 611
- 3
- 6
-
That's clever. I like it! – Tom Ellis Sep 27 '17 at 21:25