Oddbean new post about | logout
 What about hole punching?
Does https://holesail.io/ help here? 
 Interesting, but doesn’t this need some centralized coordinator to match the clients to the servers (via the “connector” string)?
What happens if I try running a server with the same connector string as someone else? Is it encrypted?

The lnurl/lightning-address protocols are based on small json payloads. It will be simple for every smartphone wallet to send them as “nostr dms” (with a different ephemeral kind), it will be encrypted, and will also be reliable if you use multiple relays. 
 Holesail is truly peer to peer and does not need centralised servers.

Also make your connectors strong, long and super random or use auto generated random keys, that will prevent collision. 
 How?
When I type “holesail holesailMCServer420” and then send a GET request to localhost:8989, how does it find the ip address of the server that used the same connector?
Also, can the connector be a public-private keypair or a string/string-hash pair? Because I want others to send requests to my server without being able to try taking over other peoples’ the requests. 
 /subscribe (to this thread, lol) 
 When you do holesail CONNECTOR, it generates a hash that is also your location in the distributed hash table, atm there are two public nodes run by hopepunch team which lets you in on the mesh network of peers.


Anyone can run a public nodes, and it's only used for initially finding first few peers after that other peers tell you where your "peer" is located.

To stop people from taking over, you need to use key, which are automatically generated.

holesail --live 5000

will give you a key 
 Would also be a great place to drop the video of that dude breaking down Kademlia. Actually, I have it saved lol https://youtu.be/1QdKhNpsj8M?si=iyBPHCuwPld9SLm6 
 Would be really cool to have an @umbrel app that creates reverse-proxy to the LNBits app, and some instruction how to build a project on Vercel or Firebase with a lambda function that forwards every request to your home LNBits.

The major pain with LNBits behind NAT is to actually let others use it outside your home WIFI. 
 I have not used umbrel but I can look into it 🤔 
 in the meantime, it can always be easily installed by ssh'ing in. although id imagine getting it working with containers is a pain