Skip to content

Instantly share code, notes, and snippets.

@dsbaars
Created May 21, 2022 18:12
Show Gist options
  • Save dsbaars/9fdfcb498122924227cad51d526046fc to your computer and use it in GitHub Desktop.
Save dsbaars/9fdfcb498122924227cad51d526046fc to your computer and use it in GitHub Desktop.
lnd.conf IPv4/IPv6/tor hybrid mode
[Application Options]
...
listen=:9735
...
tlsextaip=198.192.141.74
tlsextraip=2460:089c:d9f2:1603:7030:b52e:a5c5:f07c
externalip=198.192.141.74:9735
externalip=2460:089c:d9f2:1603:7030:b52e:a5c5:f07c:9735
externalhosts=rof.tools
[tor]
tor.active=1
# Point this to the server/docker container running tor
tor.control=10.1.2.3:29051
tor.socks=10.1.2.3:9050
# Point this to the IP-address LND is reachable from the tor server/docker container
tor.targetipaddress=10.1.2.9
tor.password=**removed**
tor.v3=1
tor.skip-proxy-for-clearnet-targets=true
SocksPort 0.0.0.0:9050
ControlPort 0.0.0.0:29051
# Generate the hashed control password using tor --hash-password your_password
HashedControlPassword **removed**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment