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

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



> On 2 Jul 2017, at 10:02, nusenu <nusenu-lists@xxxxxxxxxx> wrote:
> 
> 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?

/etc/tor/torrc is not used as the defaults torrc file. It's the torrc file
for tor@default.service, and /etc/tor/defaults-torrc (?) is its defaults file.

/etc/tor/tor-service-defaults-torrc-instances is the template file for
each instance's defaults torrc file. You can use it to name instances
and set common torrc options.

> 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)

Using /etc/tor/tor-service-defaults-torrc-instances is easier, unless
you use something even more automated:

> 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

T

--
Tim Wilson-Brown (teor)

teor2345 at gmail dot com
PGP C855 6CED 5D90 A0C5 29F6 4D43 450C BA7F 968F 094B
ricochet:ekmygaiu4rzgsk6n
xmpp: teor at torproject dot org
------------------------------------------------------------------------



Attachment: signature.asc
Description: Message signed with OpenPGP

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