.onion
.lnd 0.14.0
it is possible to configure LND in a way that lets you be reachable via IPv4/6 while also reaching Tor nodes. See hybrid mode for details./etc/tor/torrc
lnd.conf
file, amend the following line:tor.active=true
tor.dns=nodes.lightning.directory
tor.socks=127.0.0.1:9050
false
if you have a lot of channels or prefer your channels to go online quickly, rather than privately.tor.streamisolation=true
lnd 0.14.0
it is possible to run your node in hybrid mode. This means your node will make connections to nodes behind Tor using the Tor network, and all nodes reachable through an IPv4 or IPv6 address directly.tor.skip-proxy-for-clearnet-targets=1
etc/tor/torrc
), find the line ControlPort 9051 and ‘uncomment’ it, e.g. remove all leading pound symbols (#
).tor.password=dontusethisyouwillbehacked
tor --hash-password dontusethisyouwillbehacked
16:2BE4E06082494B84607C7C2264E8EFFC4600DE2A28DFE5142519FF87AF
torrc
file under ControlPort, e.g.:HashedControlPassword 16:2BE4E06082494B84607C7C2264E8EFFC4600DE2A28DFE5142519FF87AF
lnd.conf
:tor.v3=true
~/.lnd
folder.tor.control=localhost:9051
tor.targetipaddress=
tor.privatekeypath=/path/to/torkey
tor.watchtowerkeypath=/other/path/
extraip=<your IP here>