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.
Login to reply
Replies (2)
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
From cloud to @lnbits on Phoenixd at home maybe? It's not an overkill and does exactly that (and so much more with it's load of optional extensions 😅)
Swagger
GitHub
LNbits.on.phoenixd.on.MacOS/Debian.md at main · arbadacarbaYK/LNbits.on.phoenixd.on.MacOS
Running a phoenixd node on a Mac or pure Debian . Contribute to arbadacarbaYK/LNbits.on.phoenixd.on.MacOS development by creating an account on Git...
LNbits API - Swagger UI