-
-
Save Darkflib/1d171851a77936d9e2a6f7737ccfba65 to your computer and use it in GitHub Desktop.
Using tor as SOCKS proxy with SOCAT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
socat TCP-LISTEN:<localport> SOCKS4A:localhost:<host>:<remoteport>,socksport=9050 | |
# for example, to ssh into secret.shell.server.org via tor, do: | |
$ socat TCP-LISTEN:22222 SOCKS4A:localhost:secret.shell.server.org:22,socksport=9050 & | |
$ ssh localhost -p 22222 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment