Replies (10)

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.
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
I’m kind of new to LND and Linux in general, so some of my paranoid design decisions are probably built on faulty logic. But my line of reasoning at the time was…. I want to keep all my Bitcoin stuff as physically close to me as possible, so stuff like bitcoin core, electrum server, and LND live on the home servers. But for stuff that requires inbound connections that expose my IP, like LNUrl or even just receiving money over LN when supplying an invoice, I want to keep those open ports as *far away* from me as possible. That’s when I came up with using port forwarding over a OpenVPN tunnel (using Proton as anonymizer). Probably not the most efficient way to do it but was a fun learning exercise.
Coding is still like speaking Chinese to me, and I don’t really “get” it, however, I’m in awe of the process, and listening to @jb55 explain his methods here just puts a smile on my face. It is SO cool to see!! The amount of creativity, problem solving and sheer ingenuity that is driving the #nostr movement is just amazing. Keep it up @jb55 🔥🔥 View quoted note →
hasky's avatar
hasky 4 months ago
Wouw very big screen 🤣
Oh wow, didn’t realize that product even existed. Looks like what I need. Thanks for that!