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

Re: [tor-relays] Setting a relay as an HSDirectory?



Hi,

There is nothing to do for your relay to work as an HSDirectory.
DirAuths will vote for you being an HSDirectory if they think you
are stable enough (I can't recall the exact rules, something like good
average time between failure, and at least 4 days of uptime I think).

The config lines starting with HiddenService* are about configuring an
hidden/onion service, you can read more about it here
https://community.torproject.org/onion-services/setup/ . That's not
something you should do as a relay operator (however you are obviously
free to setup some onion services as a Tor user).

Regards,

trinity-1686a

On Mon, 19 Dec 2022 at 08:57, code9n via tor-relays
<tor-relays@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
>   Thanks for the last answers, it's all running nicely now.
>
>   Now I want to set the relay to act as a Hidden Services Directory as well and reading the torrc file I'm not sure how to do it.
>
> Do I just uncomment the lines 10 and 11 of the extract below?  Or just line 10?  Or lines 10, 11, 13,14 and 15?  Or just some combination of them?
>
>
> 1 ############### This section is just for location-hidden services ###
> 2
> 3 ## Once you have configured a hidden service, you can look at the
> 4 ## contents of the file ".../hidden_service/hostname" for the address
> 5 ## to tell people.
> 6 ##
> 7 ## HiddenServicePort x y:z says to redirect requests on port x to the
> 8 ## address y:z.
> 9
> 10 #HiddenServiceDir /var/lib/tor/hidden_service/
> 11 #HiddenServicePort 80 127.0.0.1:80
> 12
> 13 #HiddenServiceDir /var/lib/tor/other_hidden_service/
> 14 #HiddenServicePort 80 127.0.0.1:80
> 15 #HiddenServicePort 22 127.0.0.1:22
>
>
>   I have uncommented line 10 as, looking at other relays in relay search, relays that have the HSDir flag (mostly) do not seem to have any DirPorts open but so far my relay does not have the HSDir flag itself.  Although the torrc file hasn't been reset for very long, yet.
>
> Thanks for any advice,
>
>     Pete
> _______________________________________________
> tor-relays mailing list
> tor-relays@xxxxxxxxxxxxxxxxxxxx
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays