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

Imre Jonk <imre@imrejonk.nl> hat am 13.08.2020 09:13 geschrieben:
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?
I imagine that something equally simple can be done for systemd-based systems as well.
Imre
The Debian package comes with the very helpful "tor-instance-create" script, which takes care of basically everything (see "man tor-instance-create"). Kind regards, Alexander

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
On 13. Aug 2020, at 07:42, Keifer Bly <keifer.bly@gmail.com> wrote:
Hi,
So my relay at https://metrics.torproject.org/rs.html#details/79E3B585803DE805CCBC00C1EF36B... <https://metricstorproject.org/rs.html#details/79E3B585803DE805CCBC00C1EF36B1E74372861D>
And my bridge at https://metricstorproject.org/rs.html#details/EF36AE38C162E96E0645E1DF25EF19... <https://metrics.torproject.org/rs.html#details/EF36AE38C162E96E0645E1DF25EF19522ADBAF90>
Are running on separate networks, but I just found out OVH allows for several different IPS on the same VPS. Is it possible to run more than one tor instance on the same machine? Thanks.
Thanks very much.
--Keifer
<https://www.avast.com/antivirus> This email has been checked for viruses by Avast antivirus software. www.avast.com <https://www.avast.com/antivirus> <x-msg://22/#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org <mailto:tor-relays@lists.torproject.org> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays>

Yes, maximum is 2 relays on one IP. 2020-08-13 5:42 GMT, Keifer Bly <keifer.bly@gmail.com>:
Hi,
So my relay at https://metrics.torproject.org/rs.html#details/79E3B585803DE805CCBC00C1EF36B...
And my bridge at https://metricstorproject.org/rs.html#details/EF36AE38C162E96E0645E1DF25EF19...
Are running on separate networks, but I just found out OVH allows for several different IPS on the same VPS. Is it possible to run more than one tor instance on the same machine? Thanks.
Thanks very much.
--Keifer
________________________________ [image: Avast logo]
This email has been checked for viruses by Avast antivirus software. www.avast.com
participants (6)
-
Alexander Dietrich
-
Imre Jonk
-
Keifer Bly
-
Kencf0618@riseup.net
-
niftybunny
-
William Kane