[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] Multiple relay instances, debian + systemd




Paw Møller:
> I am supposed to use
> tor-instance-create tor{1,2} [1]
> systemctl enable tor@tor1
> etc.
> 
> but what goes in the individual tor@tor1 torrc
> in /etc/tor/instances/tor1/torrc and what goes in the main instance in
> /etc/tor/torrc?

When you create additional tor instances on the same host you can treat
their torrc files individually with two exceptions:
- don't run more than 2 instances per IP
- (and obviously do not use same ports to bind to / data dirs)


> 
> I have a few extra ipv4 addresses. Should I allow each instance it's own IP
> or is sharing fine with one having (80,443) and the other (9091,9030) as
> (QR,DIR)port?

Sharing is fine if you do not run more than 2 instances per IP.

> I am aware that one IP can only be shared between two instances.

Great, that is the most important point when running multiple instances
on a single host.


If you run more than a single host you might also want to look into
something that does all that the work (and more) for you
https://github.com/nusenu/ansible-relayor



-- 
https://mastodon.social/@nusenu
https://twitter.com/nusenu_

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays