From 08c5e05c7514f3dd68eea8e33875de1ccf4935e8 Mon Sep 17 00:00:00 2001 From: Fazle Arefin Date: Thu, 4 Apr 2024 14:59:16 +1100 Subject: [PATCH] torsocks: edit page (#12549) --- pages/linux/torsocks.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pages/linux/torsocks.md b/pages/linux/torsocks.md index 647d96fa7..ea45cc12f 100644 --- a/pages/linux/torsocks.md +++ b/pages/linux/torsocks.md @@ -1,6 +1,7 @@ # torsocks -> Use any application through the Tor network. +> Route the traffic of any application through the Tor network. +> Note: `torsocks` will assume that it should connect to the Tor SOCKS proxy running at 127.0.0.1:9050 being the defaults of the Tor daemon. > More information: . - Run a command using Tor: @@ -10,3 +11,19 @@ - Enable or disable Tor in this shell: `. torsocks {{on|off}}` + +- Spawn a new Tor enabled shell: + +`torsocks --shell` + +- Check if current shell is Tor enabled (`LD_PRELOAD` value will be empty if disabled): + +`torsocks show` + +- [i]solate traffic through a different Tor circuit, improving anonymity: + +`torsocks --isolate {{curl https://check.torproject.org/api/ip}}` + +- Connect to a Tor proxy running on a specific [a]ddress and [P]ort: + +`torsocks --address {{ip}} --port {{port}} {{command}}`