Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using tor as SOCKS proxy with SOCAT
socat TCP-LISTEN:<localport> SOCKS4A:localhost:<host>:<remoteport>,socksport=9050
# for example, to ssh into via tor, do:
$ socat TCP-LISTEN:22222,socksport=9050 &
$ ssh localhost -p 22222
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.