SatoshiPortal / cyphernode

Modular Bitcoin full-node microservices API server architecture and utilities toolkit to build scalable, secure and featureful apps and services without trusted third parties
MIT License
363 stars 68 forks source link

Potential issue with exposing the lightning node #143

Closed cryptoskillz closed 4 years ago

cryptoskillz commented 4 years ago

When I install cyphernode with Lightning mode and expose it outside the docker network it does not appear to be exposed. This happening both on my local machine (mac) and an ubuntu server I created on Digital Ocean.

This screenshot shows the welcome dashboard

image

This screenshot shows my firewall and its open ports and my docker containers

image

I believe this is stopping me from open inbound channels and receiving payment.

cryptoskillz commented 4 years ago

Note after further research. I found that if I say yes to the following question during set up then it is exposed. It looks like this is working the wrong way. For the record, I was going to do a pull request on this anyway as the text always read wrong to me as it was inversed from the question asking you to expose Bitcoin, Gatekeeper etc.

? Installer: Expose lightning node outside of the docker network?

By default, LN node port will be published outside of Docker. Do you want to hide it so that your node can't be accessed from outside of the Docker network?

Yes

image

cryptoskillz commented 4 years ago

Fixed on dev branch