Add tor relay fragment (#190)
* Add tor relay fragment * remove extra , * use same tor container for relay * remove \ns * use own container for tor relay because of https://trac.torproject.org/projects/tor/ticket/8742 * be explicit with ports * fix container name * fix duplicate config * fix config clash * do not set daemon config item * add info about tor requirements and legal implications
This commit is contained in:
committed by
Nicolas Dorier
parent
08314c6086
commit
3ff6a88d8e
12
Generated/torrc-relay.tmpl
Normal file
12
Generated/torrc-relay.tmpl
Normal file
@@ -0,0 +1,12 @@
|
||||
ORPort 9001
|
||||
DirPort 9030
|
||||
ExitPolicy reject *:*
|
||||
CookieAuthentication 1
|
||||
|
||||
Nickname {{ $.Env.TOR_RELAY_NICKNAME}}
|
||||
ContactInfo {{ $.Env.TOR_RELAY_EMAIL}}
|
||||
|
||||
|
||||
{{ if $.Env.ADDITIONAL_TORRC_CONFIG }}
|
||||
{{ $.Env.ADDITIONAL_TORRC_CONFIG}}
|
||||
{{ end }}
|
||||
@@ -27,4 +27,8 @@ HiddenServicePort {{ $virtualPort }} {{ $containerNetwork.IP }}:{{ $port }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if $.Env.ADDITIONAL_TORRC_CONFIG }}
|
||||
{{ $.Env.ADDITIONAL_TORRC_CONFIG}}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user