Love this kind of nerdy stuff. I’ve been looking for a way to expose LNUrl API to the outside world and have it transparently instruct my LND server to create invoices. Alby works, but for a number of reasons I don’t really trust those guys. And BTCPay seems like overkill. Perhaps this is what I’m looking for. I always take extra care to anonymize the IP address of my server(s), both the LNUrl endpoint and the LND node itself. The way I personally handle that is: I lease the cloud server with Bitcoin (as opposed to credit card) and connect to it only over an anonymizing, persistent, OpenVPN connection. From there, I can forward traffic destined for the LNUrl and/or LND endpoints from the cloud server to my home server using NGINX or simple port forwarding without exposing my home IP address. It’ll just cross over the tunnel so there’s no direct connection between my cloud and home servers.

Replies (2)

jb55's avatar
jb55 _@jb55.com 4 months ago
yeah this is just a much simpler way without needing lots of extra software and web servers. if your lightning node is already hosting a port at home why not just use that for fetching? unfortunately lnd does not currently support commando (custom rpc over lightning), but they should