You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this is the right place to ask for this. But the irc channel at freenode is kinda empty.
I have the following set up: A full bitcoin node and lightning node running c-lightning.
On top of my lighting node I have lightning charge and nanotip.
Note that Charge does not have TLS encryption and should not normally be exposed directly to the public internet. For remote access, you should setup an SSH tunnel or a TLS-enabled reverse proxy like nginx.
So a searched online and get my nanotip working using a ssh tunnel like this
It is working and I think I did everything right!
My nanotip can be reached from the web but to create a invoice it uses port 9000. And that port has a ssh tunnel to 9112 port of lighting charge.
Is the correct approach?
The text was updated successfully, but these errors were encountered:
Assuming your lightning charge and your nanotip are hosted on different servers, than yes, this seems like the correct approach!
I would also make sure that port 9112 was not unintentionally made public, which you can verify by running curl http://external_ip:9112/ and seeing that it fails.
The lightning charge and the nanotip are in the same server, a VPS.
The idea was not to have the port 9112 reachable from the web, so I created a SSH tunnel between both ports (nanotip and charged) in the same server.
The output from the command you suggested is
$ curl http://external_ip:9112/
curl: (7) Failed to connect to external_ip port 9112:
In this way the port 9112 is not reachable from the web, like it says the ligthing-charge README.md
Note that Charge does not have TLS encryption and should not normally be exposed directly to the public internet. For remote access, you should setup an SSH tunnel or a TLS-enabled reverse proxy like nginx.
So, I think lightning charge is not exposed directly to the web. And nanotip can safely create invoices.
I don't know if this is the right place to ask for this. But the irc channel at freenode is kinda empty.
I have the following set up: A full bitcoin node and lightning node running c-lightning.
On top of my lighting node I have lightning charge and nanotip.
But in https://github.com/ElementsProject/lightning-charge it says the following
So a searched online and get my nanotip working using a ssh tunnel like this
$ ssh user@external_ip -R 9000:localhost:9112 -f -N
It is working and I think I did everything right!
My nanotip can be reached from the web but to create a invoice it uses port 9000. And that port has a ssh tunnel to 9112 port of lighting charge.
Is the correct approach?
The text was updated successfully, but these errors were encountered: