I completely forgot torsocks existed and got reminded thanks to @Bastille@.
Torsocks allows you to make all your commands like ssh and other commands which reach out through the internet to instead route through tor nodes before hitting the targeted host. This way you stay extra safe.
Installation:
Running:
Basic usage:
As you can see my ip from the website after posting is completely different. Compare both below:
![[Image: image.png]](https://i.ibb.co/3W6r4FP/image.png)
![[Image: image.png]](https://i.ibb.co/bj9ps2X/image.png)
Help:
Torsocks allows you to make all your commands like ssh and other commands which reach out through the internet to instead route through tor nodes before hitting the targeted host. This way you stay extra safe.
Installation:
Code
sudo apt install torsocks && torsocksRunning:
Basic usage:
Code
torsocks curl -X GET "webhook.site/webhookhere"As you can see my ip from the website after posting is completely different. Compare both below:
![[Image: image.png]](https://i.ibb.co/3W6r4FP/image.png)
![[Image: image.png]](https://i.ibb.co/bj9ps2X/image.png)
Help:
Code
└────╼ ❯❯❯ torsocks
torsocks 2.3.0
/usr/bin/torsocks [OPTIONS] [COMMAND [arg ...]]
usage: /usr/bin/torsocks command args
Options:
-h, --help Show this help
--shell Spawn a torified shell
--version Show version
-d, --debug Set debug mode.
-u, --user NAME Username for the SOCKS5 authentication
-p, --pass NAME Password for the SOCKS5 authentication
-i, --isolate Automatic tor isolation. Can't be used with -u/-p
-6, --ipv6 Enable creation of IPv6 sockets
-a, --address HOST Specify Tor address
-P, --port PORT Specify Tor port
on, off Set/Unset your shell to use Torsocks by default
Make sure to source the call when using this option. (See Examples)
show, sh Show the current value of the LD_PRELOAD
Examples:
Simple use of torsocks with SSH
$ torsocks ssh [email protected] -p 1234
Set your current shell in Tor mode.
$ . torsocks on
Please see torsocks(1), torsocks.conf(5) and torsocks(8) for more information.



