Tor

From lightningwiki.net
Jump to: navigation, search

Lightning should work over tor.

c-lightning and Lnd both current support Tor

Additional helpful configuration information[edit]

Tor versus Lightning Onion Routing[edit]

Please note that Tor and Lightning Onion Routing are completely separate and independent technologies. They are similar as both use multiple hops to obfuscate origin and destination as packages travel along a route, but they are not the same. For best privacy both Tor and Lightning Onion Routing should be used concurrently. Read this Q&A for more details.


Lnd parameters[edit]

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[edit]

TODO

You can help by adding more information. Suggestion: Add info on c-lightning.