15 votes

How to properly start tor service

Normally the Tor service should be started/stopped with either: sudo systemctl start/stop tor.service Or: sudo service tor start/stop Personally I've always used the service command because it is ...
user avatar
6 votes

Torsocks vs Proxychains?

You should prefer torsocks over proxychains, since torsocks is intended to block potential leaks. Especially in cases with tools like youtube-dl which might try to pass over execution to programs ...
user avatar
  • 10.8k
4 votes

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

Tor not just a not http proxy - it's a transparent proxy with host-mapping features and DNS + SOCKS backend. If you want it as a VPN, especially on Windows 10, you MUST use a separate box as a router, ...
user avatar
  • 5,421
4 votes

What's the difference between ControlPort and SocksPort

The control port is used for controlling Tor, usually via other software like Arm. The Socks port is the port running as a SOCKS5 proxy. This is the one you want to use. Please note that Tor is not ...
user avatar
4 votes
Accepted

SSH only for onion network

To achieve this, just change your SSH configuration so it only binds to 127.0.0.1 instead of 0.0.0.0, so it can only be accessed by local processes.
user avatar
  • 10.8k
3 votes
Accepted

Questions about tor, tor browser and the possibility of 6 relays stacking

No, the Tor Browser will launch it's own tor process by default and both will connect to the Tor network separately. So unless you've knowingly configured your system daemon instance of tor to act as ...
user avatar
  • 10.8k
3 votes
Accepted

Should I worry about this torify (torsocks) warning?

torsocks intercepts calls to the libc syscall() function (and various other libc calls) by hooking into them through the dynamic linkers LD_PRELOAD environment variable. It creates a "shim" function ...
user avatar
  • 10.8k
3 votes

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

It seems that you're hitting the Tor built-in protection against requests to private LAN addresses through SOCKS proxy backend. Try using redsocks or something like it, but revise your config first : ...
user avatar
  • 5,421
3 votes

Torsocks curl vs curl --socks5

You should use either torsocks curl http://example.com or curl --socks5-hostname 127.0.0.1:9150 http://example.com to ensure that DNS requests aren't leaked.
user avatar
  • 41
3 votes

How to add Tor Services in My Java Application

You could try and use jtorctl which is a A Java library for controlling a Tor instance via its control port. It is used in the Android app Orbot as well as others. Orchid Orchid is a Tor client ...
user avatar
3 votes

ssh reverse connect tor

So , i solved the problem. Change torsocks to ssh -o "ProxyCommand socat - SOCKS4A:localhost:%h:%p,socksport=9050" and now a can create reverse connect from device to my server.
user avatar
  • 31
3 votes

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

I personally wouldn't do this by getting a web page. It might depend on your use case but if you want to get status info about Tor you probably should get this info from the Tor control port (9051). ...
user avatar
3 votes
Accepted

TICKET_CREATE privileges - Can't create a ticket on the tracker

The Tor Project is currently in the process of migrating from trac to a Gitlab instance. It may be difficult to report issues there for the next few weeks. Instead you can try mailing lists, or asking ...
user avatar
  • 2,673
2 votes

Torsocks curl vs curl --socks5

You should definitely use torsocks curl here, because curl --socks5 does NOT use the given SOCKS proxy to resolve DNS name. See torsocks documentation for more specifics. Also, you can use usewithtor [...
user avatar
  • 21
2 votes
Accepted

Loading Gmail in Tor

TBB is a Firefox ESR with some configuration changes that make it more 'anonymous' this is from the web: "...Also, note that the Firefox ESR in our bundles is modified from the default Firefox ESR "...
user avatar
  • 141
2 votes
Accepted

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

I found some clues reading this question: https://apple.stackexchange.com/questions/212586/torsocks-not-working-in-el-capitan Suppose I installed httpie with brew $ brew install httpie The ...
user avatar
  • 131
2 votes

SSH to Tor Hidden service running on Home Computer failed

You're not fully understanding how Tor works with traffic, let me explain : it has it's SOCKS listener through which one he can give you an access to the hidden service by default. That's it. It is ...
user avatar
  • 5,421
2 votes

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

Tor is not a http proxy but it is a SOCKS proxy, so please put your options (127.0.0.1:9150) in the socks field. :)
user avatar
2 votes
Accepted

IRC Server behind a tor hidden service?

This is unrelated to the onion service, there is a problem with your client configuration. It is not properly using SOCKS5/SOCKS4a's remote hostname functionality. The problem is that you're ...
user avatar
  • 10.8k
2 votes

Debian-tor user running tor in the background from startup

It seems you have installed the Tor package, either from Tor directly or as a Debian package. By default the software is set up to start by system start and it always runs in the background. So this ...
user avatar
  • 8,663
2 votes

PERROR torsocks [2893]

If you want to use Tor Browser's Tor instance you'll have to use TorPort 9150. Alternatively, you can install a global Tor instance. This doesn't work if you're running the alpha version of Tor ...
user avatar
  • 1,342
2 votes
Accepted

How to specify ExitNodes in Linux?

GeoIP needs to be installed for Tor to be able to determine in what country a exit relay is. You can install it using sudo apt install tor-geoipdb. From the logs: We've been configured to use (or ...
user avatar
  • 1,342
2 votes

torsocks over torsocks? (by accident)

Torsocks sets the LD_PRELOAD environment variable to intercept a few system calls. It does not matter if you use it recursively: # at first $LD_PRELOAD is unset $ echo $LD_PRELOAD # when we start ...
user avatar
  • 1,342
2 votes

How to send Tor traffic through ssh tunnel?

You want to configure Tor to use an upstream proxy. Tor Button/Onion Menu -> Network Settings -> Tick 'This computer needs to use a local proxy to access the Internet' Proxy Type: SOCKS5 Address: ...
user avatar
  • 10.8k
2 votes
Accepted

Socks version 22 not recognized. (Tor is not an http proxy.)

You're not trying to speak SOCKS, the SOCKS port only speaks the SOCKS protocol. Decimal 22 is hexadecimal 0x16, which is the initial byte of a TLS connection. Tor's SOCKS port does not speak TLS. ...
user avatar
  • 10.8k
2 votes

curl website with tor's unix socket

First of all, ControlPort isn't used to send data over Tor, it's used to get information and set configuration options from the Tor client. If you want to connect over a UNIX socket and connect over ...
user avatar
  • 10.8k
2 votes

Privoxy VS Polipo

Well, privoxy and polipo are basically even: they both have filtering systems inside them, both are HTTP-to-SOCKS tools. In the last beta of tor you have a HTTPS proxy embedded in tor itself, so I'd ...
user avatar
  • 5,421
2 votes
Accepted

cert type 4, 5, 7 in cert cell

All certificates types are listed here, see section "A.1. List of certificate types" [04] - Ed25519 signing key with an identity key (see prop220 section 4.2) [05] - TLS link ...
user avatar
2 votes
Accepted

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

Most of the links you posted state the differences. You should use torsocks. tsocks: Allows non-SOCKS aware applications to use a SOCKS proxy. No longer maintained. tsocks' role is to allow these ...
user avatar
  • 2,673

Only top scored, non community-wiki answers of a minimum length are eligible