Tor

From lightningwiki.net
Revision as of 18:26, 30 January 2019 by 5.196.1.129 (talk) (fixed broken link; LND should automatically point to Lnd, same for lnd. I don't know to do that. Can you as admin do this. LND, L:nd, lnd all should go to the same page.)
Jump to navigation Jump to search

Lightning should work over tor.

c-lightning and Lnd both current support Tor

Additional helpful configuration information

LND

Give parameters here. Do you know them? Please add!

./lnd -h

Tor:
      --tor.active                                            Allow outbound and inbound connections to be routed through Tor
      --tor.socks=                                            The port that Tor's exposed SOCKS5 proxy is listening on -- NOTE port must be between 1024 and 65535 (default: 9050)

      --tor.dns=                                              The DNS server as IP:PORT that Tor will use for SRV queries - NOTE must have TCP resolution enabled (default: soa.nodes.lightning.directory:53)
      --tor.streamisolation                                   Enable Tor stream isolation by randomizing user credentials for each connection.
      --tor.controlport=                                      The port that Tor is listening on for Tor control connections -- NOTE port must be between 1024 and 65535 (default: 9051)
      --tor.v2                                                Automatically set up a v2 onion service to listen for inbound connections
      --tor.v3                                                Use a v3 onion service to listen for inbound connections
      --tor.privatekeypath=                                   The path to the private key of the onion service being created (default: /Users/user/Library/Application Support/Lnd/onion_private_key)

c-lightning parameters

Template:TODO