homeserver/roles/mgrote.tor-node/templates/torrc
mg 2572f97fbc aufbau tor-relay (#221)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#221
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2021-10-17 19:40:18 +02:00

24 lines
545 B
Text

{{ file_header | default () }}
Nickname {{ tor_relay_name }}
ORPort {{ tor_or_port }}
ExitRelay 0
SocksPort {{ tor_socks_port }}
ControlSocket {{ tor_control_socket }}
ContactInfo {{ tor_contact_info }}
ControlPort {{ tor_control_port }}
CookieAuthentication 1
ExitPolicy reject *:*
{% if tor_bandwidth_rate is defined %}
BandwidthRate {{ tor_bandwidth_rate }}
{% endif %}
{% if tor_bandwidth_burst is defined %}
BandwidthBurst {{ tor_bandwidth_burst }}
{% endif %}
{% if tor_my_family is defined %}
MyFamily {{ tor_my_family }}
{% endif %}