Open currenc-group opened 4 years ago
What kind of node do you have? Assuming you didn't build from scratch. Things like myNode have onion routing LN QR codes that you can scan to connect easily The onion url will let you connect to your home node from elsewhere without any router/firewall/whatever configuration. Just scan and go.
In general, this kind of guide work is falling on the node software distributor because it all depends on where they put the QR code generator in their interface.
I am using Raspiblitz software, i did build it from scratch.
Thanks for info, will have a look at myNode.
All you need to do is configure your lnd.conf file by dding the following lines to the section [Application Options]: $ sudo nano /home/bitcoin/.lnd/lnd.conf
rpclisten=0.0.0.0:10009
tlsextraip=0.0.0.0
tlsextraip=<YOUR_PUBLIC_IP>
Delete tls.cert (restarting LND will recreate it): $ sudo rm /home/bitcoin/.lnd/tls.*
Restart LND : $ sudo systemctl restart lnd
Copy the files tls.cert and lnd.conf to user “admin”, as it is needed for lncli:
$ sudo cp /home/bitcoin/.lnd/{tls.cert,lnd.conf} /home/admin/.lnd
$ sudo cp /home/bitcoin/.lnd/data/chain/bitcoin/mainnet/admin.macaroon /home/admin/.lnd/data/chain/bitcoin/mainnet
Unlock wallet $ lncli unlock
Allow the ufw firewall to listen on 10009 from the LAN:
$ sudo ufw allow port 10009 comment 'allow LND grpc externally'
Restart and check the firewall:
$ sudo ufw enable
$ sudo ufw status
Make sure your forward port 10009 to your node's local IP on your router as well. If you don't do this step, connections will fail.
Let me know how you did. 🖖🏻
Hi guys.
It's too complex for us noobs to connect to our node from outside local network and pay for coffee somewhere. Is there an easy way to do so? Could perhaps someone make a tutorial on how to do so?
Thanks