BR⚡LN Club

BR⚡LN Guide

Reachable Lightning node: Tor, clearnet or both?

To open channels with you and stay connected, other nodes need to reach yours. That happens over Tor, over the regular internet (the clearnet) or both. Each path has a different cost in privacy and in stability.

Tor only

The node gets a .onion address and your home IP stays hidden. It is the default for many home nodes and needs no open port on the router. The price: slower connections that sometimes drop and take a while to come back, and clearnet-only nodes cannot reach you.

Clearnet straight from your home

The node announces your internet connection's public IP, on port 9735. Connections are fast and stable, but your home IP becomes public and tied to your node, and you have to open the port on your router. With a dynamic IP, the announced address goes stale every time your ISP changes it.

Both: hybrid mode

The node stays on Tor and also announces a clearnet address. On LND that is done with tor.active=true, tor.skip-proxy-for-clearnet-targets=true and externalip set to the public address. It gives the best connectivity: nodes that speak Tor come in over Tor, nodes that speak clearnet come in over clearnet.

Clearnet without exposing your home

You can have a clearnet address that is not your home's: a tunnel to a server with a public IP that forwards the port to your node. You get clearnet stability without revealing your IP and without opening a port on your router. BR⚡LN Club members have this tunnel ready, BR⚡LN Clearnet, with servers in Brazil and the US: it is a separate service, at a subsidized member price. How the tunnel works, the routes and what it hides are in Clearnet without exposing your home IP (in Portuguese).

How to test from outside

  • Is my Lightning node reachable? makes, from outside, the same connection another node would (the BOLT 8 handshake), over clearnet and over Tor, and tells you what answered.
  • The Lightning node checker scores reachability: Tor plus protected clearnet scores highest; clearnet straight from home scores less; Tor only scores less still.

Frequently asked questions

What port does a Lightning node use?

The default is 9735, both on clearnet and on the .onion address. On clearnet it has to be open for the node to accept connections.

Is Tor only bad?

It is not bad, just more limited: it works and protects your IP, but it is slower and clearnet-only nodes cannot reach you. For a node that wants to route payments, hybrid mode usually does better.

Does clearnet expose my home address?

It exposes your internet connection's IP, which reveals your region and your ISP. A tunnel with a server IP avoids that.