ufw uodate

This commit is contained in:
openoms
2019-01-16 08:48:28 +00:00
parent db5f608fc1
commit 6b5fae4deb

View File

@@ -17,19 +17,24 @@ Install instructions: https://github.com/LN-Zap/zap-desktop#install
`$ sudo nano /home/bitcoin/.lnd/lnd.conf`
```tlsextraip=0.0.0.0```
* Allow the ufw firewall to listen on 10009 from the LAN
`$ sudo ufw allow from 192.168.0.0/24 to any port 10009 comment 'allow LND grpc from local LAN'`
* restart and check the firewall:
`$ sudo ufw enable`
`$ sudo ufw status`
* Restart LND and unlock wallet
`$ sudo systemctl restart lnd`
`$ lncli unlock`
### On your linux desktop:
### On your linux desktop:
Copy the tls.cert to your home directory:
* Copy the tls.cert to your home directory:
`$ scp admin@your.RaspiBolt.LAN.IP:/home/admin/.lnd/tls.cert ~/`
`scp admin@your.RaspiBolt.LAN.IP:/home/admin/.lnd/tls.cert ~/`
Copy the admin.macaroon to your home directory:
`scp admin@your.RaspiBolt.LAN.IP:/home/admin/admin.macaroon ~/`
* Copy the admin.macaroon to your home directory:
`$ scp admin@your.RaspiBolt.LAN.IP:/home/admin/admin.macaroon ~/`
### Configure ZAP