Better Tor

This commit is contained in:
kexkey
2019-11-08 21:28:30 -05:00
committed by kexkey
parent bc183583a6
commit b640650f30
2 changed files with 8 additions and 0 deletions

View File

@@ -16,6 +16,13 @@ rgb=<%= lightning_nodecolor %>
addr=0.0.0.0:9735
<% if ( features.indexOf('tor') !== -1 ) { %>
#tor
proxy=tor:9050
#always-use-proxy=true
#disable-dns
<% } else { %>
<% if( locals.lightning_external_ip ) { %>
announce-addr=<%= locals.lightning_external_ip %>:9735
<% } %>
<% } %>

View File

@@ -3,3 +3,4 @@ HiddenServiceVersion 3
HiddenServicePort 80 traefik:80
HiddenServicePort 443 traefik:443
SocksPort 0.0.0.0:9050
ExitPolicy reject *:* # no exits allowed