mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-20 05:14:19 +01:00
zerotier: update and formatting
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
ZeroTier is a VPN service which is an easy option to connect remotely when neither port forwarding nor using Tor is possible (e.g. iOS on a remote network)
|
||||
|
||||
The drawback is that it requires installing a trusted package which gives access to your private network.
|
||||
The drawback is that it requires installing a trusted (open-source) package which gives access to your private network.
|
||||
|
||||
Steps to install:
|
||||
|
||||
@@ -26,13 +26,20 @@ if z=$(curl -s 'https://install.zerotier.com/' | gpg); then echo "$z" | sudo bas
|
||||
* Open https://my.zerotier.com `Networks` menu and accept the new devices pending approval.
|
||||
|
||||
* On the Raspiblitz modify the lnd.conf manually:
|
||||
`$ nano /home/admin/.lnd/lnd.conf`
|
||||
`$ sudo nano /mnt/hdd/lnd/lnd.conf`
|
||||
|
||||
add the line:
|
||||
`tlsextraip=172.X`
|
||||
```
|
||||
tlsextraip=172.X
|
||||
```
|
||||
CTRL+O and ENTER to save, CTRL+X to exit
|
||||
|
||||
Restart LND and unlock:
|
||||
`$ sudo systemctl restart lnd`
|
||||
`$ lncli unlock`
|
||||
|
||||
* Renew the TLS certificates either from the EXPORT menu or run:
|
||||
`./config.scripts/lnd.newtlscert.sh`
|
||||
`$ ./config.scripts/lnd.newtlscert.sh`
|
||||
|
||||
After setting up and activating ZeroTier on my Android phone successfully tested:
|
||||
* ZeusLN using the IP 172.x.x.x and port 8080
|
||||
@@ -40,10 +47,10 @@ After setting up and activating ZeroTier on my Android phone successfully tested
|
||||
* Termius to connect with ssh to admin@172.x.x.x
|
||||
---
|
||||
* To uninstall run:
|
||||
```
|
||||
sudo systemctl stop zerotier-one
|
||||
sudo apt remove zerotier-one
|
||||
sudo rm -r /var/lib/zerotier-one
|
||||
```bash
|
||||
$ sudo systemctl stop zerotier-one
|
||||
$ sudo apt remove zerotier-one
|
||||
$ sudo rm -r /var/lib/zerotier-one
|
||||
```
|
||||
---
|
||||
|
||||
@@ -51,5 +58,3 @@ This guide is based on: https://medium.com/@ketominer/using-nodl-remotely-with-z
|
||||
|
||||
Discussion: https://github.com/rootzoll/raspiblitz/issues/601
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user