Possible to run multiple tor instances from one machine?

On Wed, 2020-08-12 at 22:42 -0700, Keifer Bly wrote:
Is it possible to run more than one tor instance on the same machine?
Certainly. You will need to create a torrc configuration file (/etc/tor/torrc, /etc/tor/torrc2 and so on) for every Tor instance you want to run, and create a new data directory (/var/lib/tor, /var/lib/tor2 and so on) as well. Make sure you properly set these settings: - DataDirectory must be unique. - SOCKSPort must be unique (or just disable it by setting it to 0). - ControlPort must be unique. - ORPort must be unique. - DirPort must be unique. - MyFamily must list the fingerprints of your other relay instances (but don't do this for bridges). - ContactInfo must be set on all relay instances. - It's convenient to make Nickname unique as well. Note that you can only run two Tor relay instances on one IP address. I believe that bridges are excluded from this rule. After that you can spin up the new relay instances with `tor -f /path/to/torrc`. On OpenBSD I just symlink the rc.d scripts and add the -f flag, I imagine that something equally simple can be done for systemd-based systems as well. Imre

On 2020-08-15 06:47, Alexander Dietrich wrote:
Imre Jonk <imre@imrejonk.nl> hat am 13.08.2020 09:13 geschrieben:
The Debian package comes with the very helpful "tor-instance-create" script, which takes care of basically everything (see "man tor-instance-create").
Thanks to this I've finally got to client functionality, but that the torrc contains is "+SockPort auto" (and I am unfamiliar with that "+". I'm letting this run for a while until I can configure a plain vanilla relay again, but it's a good start! Many thanks.

The German ones are running on three servers: https://metrics.torproject.org/rs.html#search/family:01FDC8E92D3280847D856DA... <https://metrics.torproject.org/rs.html#search/family:01FDC8E92D3280847D856DA1F9BFC2B4CD2C2EE8> So, your answer to this is: Yes Contact me if you need help with the setup the emperor protects, nifty
participants (6)
-
Alexander Dietrich
-
Imre Jonk
-
Keifer Bly
-
Kencf0618@riseup.net
-
niftybunny
-
William Kane