NewNewYorkBridges / ansible-tor-bridge

Ansible role to deploy Tor Bridge nodes.
GNU General Public License v3.0
7 stars 5 forks source link

please support private bridges and user defined nickname #6

Closed toralf closed 2 years ago

toralf commented 2 years ago

As described in https://gitlab.torproject.org/tpo/core/tor/-/issues/40430 these 2 torrc values are needed:

PublishServerDescriptor 1
BridgeDistribution none
toralf commented 2 years ago

Thinking more about this it seems that there are much more config values too - maybe just add something like {{ additional_config }} to the appropriate *.j2 file and let the user configure that string (with \n in it) ?

lilianbaz commented 2 years ago

That's a good idea: I just pushed a change with the new var additionnal_torrc_config and set PublishServerDescriptor bridge as an example in the default/main.yml. Do you think it fits your need?

I'm not sure what are the best default options at the moment, we'll probably change that later.

toralf commented 2 years ago

cool - works (maybe 2 newlines after each line are 1 too much but otherwise works fine). Thx!