I hope this is the appropriate place to ask this.
I’m building a web app that is using an lnd instance to facilitate payments via the lightning network. When I run my node app on my laptop that is connected to the same network as my rpi4 running Umbrel i am able to access my node via
umbrel.local:10009. However, since my web app is deployed in the cloud I need to access my node from outside via <my-public-ip>:10009. In other words I need to publicly expose my lnd’s gPRC port.im using alexbosworth's ln-service
The problem is i am unable to reach my node…
-
my router does forward
:10009to my rpi4’s static ip -
telnet
<my-public-ip>:10009DOES yield a response -
my deployments domain IS listed as an entry the
tlsextradomain -
rpclistenIS configured as0.0.0.0 -
externalipIS set to<my-public-ip> -
im starting to suspect that this issue has to do with dockers default network and it is not letting any traffic outside the default network reach any container.
i provided a little sketch to make it really clear:
tlsextradomainin thelnd.conffile, you need to regenerate thetls.certso it has the latest values included. Restarting LND should do the trick (I believe there also might be an LND command for this)-p <external-ip>:10009:10009to expose it externallytelnet <public-ip>:10009can i assume that this is actually reaching my lnd? Is A response the RIGHT response or is there a RIGHT response apart from A response or NO response?tlsextraipandtlsextradomainsupposed to be listed in the decoded dataset somewhere?tlsextraipandtlsextradomainconfig entries should appear in the 'SAN' subject in the certificate. If they are not there, your app will not be able to perform the necessary SSL handshake.lnd.confentries when generating the cert. waiting for the reply...