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

nusenu nusenu-lists at riseup.net
Sun Jul 2 00:02:00 UTC 2017



Paw Møller:
> I am supposed to use
> tor-instance-create tor{1,2} [1]
> systemctl enable tor at tor1
> etc.
> 
> but what goes in the individual tor at 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_

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20170702/989a280f/attachment.sig>


More information about the tor-relays mailing list