Bei mir hat es jetzt auch endlich geklappt. Das Tutorial hat mir extrem dabei geholfen, vielen Dank dafür @surenic!
Ein kleiner Nachtrag noch für Leute die den Raspibltz ab Version 1.8.0 mit LND benutzen: Man muss in der lnd.conf einiges ändern und vor allem das mit der LND-Backup File war ein bisschen kniffelig. Da hat mir das von Surenic eingangs im Tutorial erwähnte Tutorial von TrezorHannes dann weitergholfen. Evtl hilft dieser Hinweis ja noch jemandem der in Zukunft das Setup übernehmen möchte
LND.conf adjustments, open with sudo nano /mnt/hdd/lnd/lnd.conf
[Application Options]
Command | Description |
---|---|
externalip=207.154.241.101:9735 |
# to add your VPS Public-IP |
nat=false |
# deactivate NAT |
[tor]
Command | Description |
---|---|
tor.active=true |
# ensure Tor is active |
tor.v3=true |
# with the latest version. v2 is going to be deprecated this summer |
tor.streamisolation=false |
# this needs to be false, otherwise hybrid mode doesn’t work |
tor.skip-proxy-for-clearnet-targets=true |
# activate hybrid mode |
CTRL-X
=> Yes
=> Enter
to save
RASPIBLITZ LND-checkup FILE sudo nano /home/admin/config.scripts/lnd.check.sh
since Raspiblitz has some LND pre-check scripts which otherwise overwrite your settings. Go to line 184 or search for enforce PublicIP if (if not running Tor)
. Uncomment those 5 lines indicated here:
# if [ "${runBehindTor}" != "on" ]; then
# setting ${lndConfFile} ${insertLine} "externalip" "${publicIP}:${lndPort}"
# else
# when running Tor a public ip can make startup problems - so remove
# sed -i '/^externalip=*/d' ${lndConfFile}
# fi
CTRL-X
=> Yes
=> Enter
to save
LND Systemd Startup adjustment
Command | Description |
---|---|
sudo systemctl restart lnd.service |
apply changes and restart your lnd.service. It will ask you to reload the systemd services, copy the command, and run it with sudo. This can take a while, depends how long your last restart was. Be patient. |
sudo tail -n 30 -f /mnt/hdd/lnd/logs/bitcoin/mainnet/lnd.log |
to check whether LND is restarting properly |
lncli getinfo |
to validate that your node is now online with two uris, your pub-id@VPS-IP and pub-id@Tor-onion |
"03502e39bb6ebfacf4457da9ef84cf727fbfa37efc7cd255b088de426aa7ccb004@207.154.241.101:9736",
"03502e39bb6ebfacf4457da9ef84cf727fbfa37efc7cd255b088de426aa7ccb004@vsryyejeizfx4vylexg3qvbtwlecbbtdgh6c