Questions tagged [torsocks]

Torifying wrapper to redirect the traffic of socks-compatible apps through the tor network.

Filter by
Sorted by
Tagged with
14 votes
1 answer
77k views

How to properly start tor service

For months I've been using: $ sudo systemctl start tor.service but I just realized we can start tor by simply typing "tor" into a terminal. What's the proper/safest way to start and stop tor.service?...
user13933's user avatar
  • 141
9 votes
5 answers
62k views

How to set Tor proxy for Windows 10 instead of VPN?

When I open windows 10 settings and then "Network & Internet" I see: Settings -> Network & Internet 1. Data usage ...
IremadzeArchil19910311's user avatar
5 votes
3 answers
5k views

What's the difference between ControlPort and SocksPort

I would like to run Tor on my Mac, such that another program (a Ruby script) can make HTTP requests through my running Tor process. I installed via "sudo port install tor" and then launched ...
Dave's user avatar
  • 51
5 votes
1 answer
3k views

Debian-tor user running tor in the background from startup

I recently noticed (by doing top) that there is a process running tor by the user debian-tor. I have installed tor, and use it frequently along with torsocks, but I didn't expect to see it running ...
user141's user avatar
  • 151
5 votes
1 answer
694 views

Torsocks doesn’t torify on macOS

I can’t get Torsocks to work properly on macOS 12.3 Monterey, while it works perfectly on Raspbian 11 Bullseye. The program seems to work, but it doesn’t torify the traffic. The version is Torsocks 2....
nico's user avatar
  • 151
5 votes
0 answers
4k views

How to ssh to a hidden service with torsocks [closed]

How do I ssh to a hidden service with torsocks? Manual for torsocks says that ssh should work just fine yet it doesn't. It fails with the following: $ torsocks ssh username@example.onion ...
sanmai's user avatar
  • 151
4 votes
3 answers
7k views

Torsocks curl vs curl --socks5

On my linux box, I have both Tor and Tor browser bundle installed and running. I was wondering which of those two is to be preferred (in the sense of being the most robust to potential "anonymity ...
Iam Zesh's user avatar
  • 141
4 votes
1 answer
2k views

What's the difference between torify, usewithtor, tsocks and torsocks?

I want to use an external application with Tor. I find 4 different commands for that, and I am not sure about their relations. usewithtor torify tsocks torsocks What's the relation between those 4 ...
Karel Bílek's user avatar
3 votes
1 answer
6k views

Torsocks vs Proxychains?

I often alternate between torsocks/proxychains when using wget, youtube-dl, gpg2, ssh, pacman and more [non-multithreading] applications. If torsocks breaks or seems abnormally slow, I'll likely try ...
user16283's user avatar
3 votes
1 answer
2k views

"couldn't connect to host" using `torsocks` with `curl`

I am trying to use torsocks with curl. Tor is running as a relay node. DNS lookup is working but connection to the target with HTTP fails. $ host www.ipmango.com www.ipmango.com has address 173.255....
user avatar
3 votes
2 answers
4k views

SSH to Tor Hidden service running on Home Computer failed

Tor recently started fiddling with Tor and found out I can host a Tor hidden service that will allow me to forward SSH traffic through a firewall. My setup is: I have a computer at home hosting a SSH ...
Tom Kustermans's user avatar
3 votes
1 answer
788 views

Signal NEWNYM vs Stream isolation

Resources. This answer explains well what happens at NEWNYM request, and I also dig into the code, yet my lack of knowledge on low level networking prevents me to make a proper design decision if ...
nopara73's user avatar
  • 173
3 votes
0 answers
1k views

SSH tunnel SOCKS5 or VPN after Tor with Tails

I am using Tails 1.2.2 as OS. I need to use anything to hide the fact I'm using Tor, so far I've tried socks5 with proxychains but the permission is denied when I check with curl. SSH tunnel are also ...
randomguy's user avatar
2 votes
1 answer
195 views

SSH only for onion network

https://medium.com/@tzhenghao/how-to-ssh-over-tor-onion-service-c6d06194147 I follow this tutorial, but I want that my ssh service only works in onion network
user avatar
2 votes
2 answers
1k views

torsocks on macOS: ERROR: YYY is located in a directory protected by Apple's System Integrity Protection

I wish to tunnel CLI tools over tor network in macOS 11.5.2 None is working. I only installed torsocks, did no configuration. brew install torsocks torsocks whois example.com ERROR: /usr/bin/whois is ...
Sybil's user avatar
  • 258
2 votes
1 answer
3k views

How to check if Tor socks proxy is working programatically python?

I have installed Tor on a command-line only environment without the browser, Tor Socks Proxy is running on 9050. To check if the proxy code is running correctly i used: % curl --socks5 localhost:...
Ouss's user avatar
  • 121
2 votes
2 answers
4k views

How to add Tor Services in My Java Application [closed]

I am working online application and while working , some of my ip are banned . After that i came to know about Tor and i want to know how to add the tor services in java applications. Please do ...
Eswar's user avatar
  • 21
2 votes
1 answer
867 views

Allow command-line tor client to accept anonymous connection from private address

I am running the command-line tor client on OS X 10.10 and I have a short script that routes all my WiFi network connections through the SOCKS proxy where tor is listening (127.0.0.1:9050) INTERFACE=...
kilgoretrout's user avatar
2 votes
1 answer
198 views

Why doesn't `torsocks git clone https://github.com/ElementsProject/lightning.git` work?

torsocks git clone https://github.com/ElementsProject/lightning.git does not work and gives me: Cloning into 'lightning'... 1643140279 PERROR torsocks[51452]: socks5 libc connect: Connection refused (...
John Smith's user avatar
2 votes
1 answer
5k views

PERROR torsocks [2893]

I am trying to get Tor relay working and I obviously have done some thing wrong, as I keep getting the torsocks PERROR when testing. I entered the command curl https://api.ipify.org and get 82.3.5....
Ysblik's user avatar
  • 89
2 votes
2 answers
5k views

Tor Remote Desktop Client Tool

I was curious if anyone knows if Tor (maybe Firefox more specific) supports any client tool (even betas) which would allow RDP port 3389 connections from the browser while on the Tor network? The ...
SlickNutz's user avatar
  • 131
2 votes
1 answer
3k views

IRC Server behind a tor hidden service?

I host my own irc server, but I would like to serve it using tor hidden service, I already have a tor .onion site using vbox, and it is not the same approach to setup for an irc server, at least it is ...
devasia2112's user avatar
2 votes
2 answers
3k views

How can I force terminal to use Tor on Ubuntu

I wanted to install a program on terminal but it's blocked. How do I torfiy my terminal to fetch the package over Tor?
CatCoder's user avatar
  • 121
2 votes
3 answers
4k views

How to figure out why torsocks isn't working on OS X

I installed tor and torsocks on OS X 10.11 with brew and then ran tor. $ brew up $ brew install tor torsocks $ tor --version Tor version 0.2.7.6. $ torsocks --version Torsocks 2.1.0 $ tor In another ...
yansal's user avatar
  • 141
2 votes
1 answer
535 views

Loading Gmail in Tor

When using Gmail in Firefox Google Chat works fine but when Gmail is accessed through Tor, the chat doesn’t load. Moreover, it says "Authentication Problem" and request to log in again in a red line ...
Denis's user avatar
  • 330
2 votes
1 answer
164 views

Tor metrics returns blank page for me

I have noticed that metrics options were added in PR 2096. However, when I open http://127.0.0.1:37991/metrics I get only a blank page. I use tor.exe file to send HTTP requests through Tor's SOCKS5 ...
Centrury's user avatar
2 votes
1 answer
244 views

Change socksport and listen address?

Is it possible to change TorAddress and TorPort when using apt-transport-tor? I'm trying to use socksports listening on another machine on my network.
user23720's user avatar
2 votes
1 answer
101 views

tbb-nightly-hardened provides no TCP socks proxy, only unix domain socket. is that normal?

I noticed when trying the nightly hardened that the TBB now doesn't spawn an TCP socks proxy but rather use a unix domain sockets is that to be the expected behavior for the future of TBB hardened ? (...
Hiryc's user avatar
  • 21
2 votes
2 answers
1k views

Can't use onion mail service with torified claws-mail

I tried to use the hidden service of an email provider with claws mail. I start the client with torify claws mail, but it doesn't work. I only get: Connection to hiddenmailservice.onion:995 failed. ...
frosty2's user avatar
  • 21
2 votes
1 answer
99 views

Are the external IP addresses the same for two torified programs simultaneously running?

Suppose there are two torified programs that are simultaneously running in the shell on the same computer (which uses a single network interface). Are the external IP addresses assigned to the two ...
Tim's user avatar
  • 243
2 votes
1 answer
231 views

Make the Tor interface an httpproxy

Tor uses a SOCKS5 interface to communicate with applications. I am making an application with winHttp that needs to use Tor, but winHttp only can use HTTP proxies. Is there any way to change Tor's '...
devnull's user avatar
  • 23
2 votes
1 answer
2k views

Debian-based: torsocks + Chromium-browser = DNS Leakage?

System: latest Kali ( Debian-based ) $ torsocks chromium-browser 00:00:00 libtorsocks(1): sendmsg: Connection is a UDP or ICMP stream, may be a DNS request or other form of leak: rejecting. 00:00:00 ...
anonymous's user avatar
2 votes
0 answers
493 views

Using Tor over IPv6

Can someone explain what I have to configure to get tor working over ipv6 on client-side? $ torify telnet -6 www.google.com 80 telnet: could not resolve www.google.com/80: Non-recoverable failure in ...
user32473's user avatar
2 votes
0 answers
241 views

Connect to Tor Bridge running on Google Cloud

I deployed a Tor Bridge on Google Cloud. I can connect to the bridge from my local machine(Tor Browser on the local machine) using this - <Googe cloud ip>:9001 9001 is ORPort on Google cloud. ...
rkc007's user avatar
  • 11
2 votes
5 answers
6k views

Is it possible to run a Docker container that connects to internet only through Tor?

I found that the Tails has been evaluating Docker. However, I'd like to have a Docker image that connects only through Tor. I'm happy with setting my own proxy. Is there a recipe to do this? What I ...
The Quantum Physicist's user avatar
2 votes
0 answers
169 views

How to run multiple Tor browsers with different IPs on the latest version 6.5.1?

I would like to run multiple Tor Browsers on Windows all at once, with each having a unique Tor IP address. I have already seen this instruction, but it doesn't work anymore as extensions.torbutton....
Aleksander's user avatar
2 votes
0 answers
203 views

Tor socks libtorsocks warning

I using the torsocks with curl. torsocks curl icanhazip.com It shows the following error libtorsocks(15700): WARNING: The symbol res_querydomain() was not found in any shared library with the ...
SuperKrish's user avatar
2 votes
0 answers
57 views

Is it possible to keep a list of IPs/Websites which I don't want to use Tor to connect to?

I am new to the Tor world, and I really like the idea of it! But now I encountered some issue when I applied the "Torify" to my own python program torify my_python_program As stated in the URL:...
John the Traveler's user avatar
2 votes
1 answer
5k views

Can't reach port 9050

I have a problem with tor (this version and also 0.2.7.*). After compilation, with and without installation afterwards, I can'treach port 9050. I would like to see with arm what's going on but it ...
Hirsch's user avatar
  • 31
1 vote
2 answers
556 views

Does torify/torsocks give access to hidden services?

Most torify documentation is about accessing non-hidden services. Yet .onion address look like real tcp addresses, does torify make those available.
Aleksandr Levchuk's user avatar
1 vote
1 answer
4k views

Should I worry about this torify (torsocks) warning?

WARNING torsocks[4382]: [syscall] Unsupported syscall number 319. Denying the call (in tsocks_syscall() at syscall.c:465) I've seen other reports on different websites with different numbers. I was ...
Kete's user avatar
  • 13
1 vote
1 answer
473 views

irssi with Tor - Mapped hostname not working

I'm a newbie to Tor so maybe I'm doing something wrong. I installed Tor in a Raspberry Pi Zero W, connected to the local network, and modified the /etc/tor/torrc file so that it can be accessed only ...
dems98's user avatar
  • 113
1 vote
2 answers
3k views

Privoxy VS Polipo

I'm trying to share a SocksPort (SocksPort 192.168.0.14:10001) with a mobile device. The mobile device only supports HTTP proxies. It seems polipo used to be supported/promoted[1] by the torproject ...
user19803's user avatar
1 vote
1 answer
1k views

How to send Tor traffic through ssh tunnel?

I want to use TOR in such way: Tor Browser --> local Socks5 proxy --> VPS (connection through ssh tunnel) --> Tor Network --> Internet Questions: How to setup such a connection? Will my ISP ...
Slawq's user avatar
  • 11
1 vote
1 answer
274 views

torsocks over torsocks? (by accident)

Sometimes I'll $ torsocks --shell, then forget I'm in a torified shell and hours later do $ torsocks curl https://website.com. Does torsocks know not to do tor over tor? Is there some kind of idiot ...
idiot_proof's user avatar
1 vote
1 answer
515 views

How could I configure a version of Tor to run only as a proxy?

I use Chrome and Yandex.Browser (basically a more private version of Chrome with a nicer GUI) and I want to be able to access the Tor network in these applications. I don't want a full Tor Browser to ...
speedstyle's user avatar
1 vote
1 answer
808 views

Tor.services refusing to run on archlinux

I just did a full upgrade on my archlinux and now for some reason I can't get systemctl start tor.service to run. I can use the tor browser without this, but I usually need this service up before ...
Trey's user avatar
  • 73
1 vote
1 answer
1k views

Openvpn over TOR

I am trying to route my vpn traffic over TOR (Tor is using bridges) on ubuntu by simply adding the following in the tor configuration: UseBridges 1 Bridge bridge1 fingerprint1 Bridge bridge2 ...
vihut's user avatar
  • 21
1 vote
1 answer
253 views

Is git cli safe to be used with torsocks?

Theoretically, how safe is it to "torsocks git clone/pull/push"? Git is not listed as one of the "100% Safe" applications in the wiki, but considering it uses either ssh or HTTP(S) ...
Guilherme Rios's user avatar
1 vote
2 answers
386 views

Unable to open a web-page in Tor

I'm trying to open https://read.amazon.com on the latest version of Tor but I get a black screen. It works fine on Tor versions below 7. I'm wondering if I tweak the browser to get the web page to ...
shubham84's user avatar