add Zeus over Tor guide

This commit is contained in:
openoms
2019-03-30 17:24:57 +00:00
parent 6baab9d6dc
commit c95653297d
2 changed files with 74 additions and 11 deletions

View File

@@ -7,23 +7,26 @@ and continue https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_
More here:
#### [Set up SSL acces for the Ride The Lightning web UI on the RaspiBlitz](nginx/README.md)
* #### [Connect the Zeus Lightning Wallet on Android to the RaspiBlitz over Tor](Zeus_to_RaspiBlitz_through_Tor.md)
#### [Install the Electrum Server in Rust (electrs) on the RaspiBlitz and set it up as the backend of the Eclair wallet](electrs/README.md)
\`The server indexes the entire Bitcoin blockchain, and the resulting index enables fast queries for any given user wallet, allowing the user to keep real-time track of his balances and his transaction history using the Electrum wallet. Since it runs on the user's own machine, there is no need for the wallet to communicate with external Electrum servers, thus preserving the privacy of the user's addresses and balances.\` - https://github.com/romanz/electrs
* #### [Set up SSL acces for the Ride The Lightning web UI on the RaspiBlitz](nginx/README.md)
#### [Install OpenBazaar on a RaspiBlitz, install OpenBazaar client and migrate the store contents](https://gist.github.com/openoms/ba843f7c44ff9c7ca0b5a80e12a0aeb4)
Truly decentralized, peer-to-peer ecommerce - https://openbazaar.org/
* #### [Install the Electrum Server in Rust (electrs) on the RaspiBlitz and set it up as the backend of the Eclair wallet](electrs/README.md)
#### [Connect the Zap Desktop Lightning wallet to the RaspiBlitz](ZAPtoRaspiBolt/README.md)
The desktop app ZAP (https://github.com/LN-Zap/zap-desktop) ) is a cross platform Lightning Network wallet focused on user experience and ease of use.
\`The server indexes the entire Bitcoin blockchain, and the resulting index enables fast queries for any given user wallet, allowing the user to keep real-time track of his balances and his transaction history using the Electrum wallet. Since it runs on the user's own machine, there is no need for the wallet to communicate with external Electrum servers, thus preserving the privacy of the user's addresses and balances.\` - https://github.com/romanz/electrs
#### [Connect the Joule browser extension to the RaspiBlitz](JouleToRaspiBlitz.md)
https://lightningjoule.com/
Bring the power of lightning to the web with in-browser payments and identity, all with your own node.
* #### [Install OpenBazaar on a RaspiBlitz, install OpenBazaar client and migrate the store contents](https://gist.github.com/openoms/ba843f7c44ff9c7ca0b5a80e12a0aeb4)
Truly decentralized, peer-to-peer ecommerce - https://openbazaar.org/
#### [Install Electrum with support for ColdCard, Trezor and Ledger](Electrum_ColdCard_Trezor_Ledger_EPS.md)
* #### [Connect the Zap Desktop Lightning wallet to the RaspiBlitz](ZAPtoRaspiBolt/README.md)
The desktop app ZAP (https://github.com/LN-Zap/zap-desktop) ) is a cross platform Lightning Network wallet focused on user experience and ease of use.
* #### [Connect the Joule browser extension to the RaspiBlitz](JouleToRaspiBlitz.md)
https://lightningjoule.com/
Bring the power of lightning to the web with in-browser payments and identity, all with your own node.
* #### [Install Electrum with support for ColdCard, Trezor and Ledger](Electrum_ColdCard_Trezor_Ledger_EPS.md)
---

View File

@@ -0,0 +1,60 @@
### Connect the Zeus Lightning Wallet on Android to the RaspiBlitz over Tor
This guide is heavily based on: https://github.com/seth586/guides/blob/master/FreeNAS/wallets/zeusln.md.
Tested on the RaspiBlitz with Tor installed already.
Have a look at the proposal of @seth586 about connecting light wallets through Tor: https://medium.com/@seth586/neutrino-can-be-dangerous-so-lets-grow-bitcoins-immunity-with-a-bip-bolt-2135956f147
Download the Zeus app, APKs available here: https://github.com/ZeusLN/zeus/releases,
on Google Play and soon on F-Droid.
Edit `torrc` with `sudo nano /etc/tor/torrc` and add the following lines (`myandroid` can be unique):
```
HiddenServiceDir /mnt/hdd/tor/lnd_api/
HiddenServiceVersion 2
HiddenServiceAuthorizeClient stealth myandroid
HiddenServicePort 8080 127.0.0.1:8080
HiddenServicePort 10009 127.0.0.1:10009
```
Save (Ctrl+O, ENTER) and exit (Ctrl+X)
Restart Tor
```
$ sudo systemctl restart tor
```
View the private credentials of your new hidden service. The first part is the onion address, the second part is the secret.
```
$ sudo cat /mnt/hdd/tor/lnd_api/hostname
z1234567890abc.onion AbyZXCfghtG+E0r84y/nR # client: myandroid
```
Download Orbot for Android. https://guardianproject.info/apps/orbot/
Open orbot. Click the `⋮`, select `hidden services ˃`, select `Client cookies`.
Press the + button on the lower right. Type in the the onion address and secret cookie you revealed with `sudo cat /mnt/hdd/tor/lnd_api/hostname`.
Go back to orbot's main screen, and select the gear icon under `tor enabled apps`. Add `Zeus`, then press back. Click `stop` on the big onion logo. Exit orbot and reopen it. Turn on `VPN Mode`. Start your connection to the tor network by clicking on the big onion (if it has not automatically connected already)
Download and compile [lndconnect](https://github.com/LN-Zap/lndconnect), and generate a LND connect URI QR code:
```
$ cd ~
$ go get -d github.com/LN-Zap/lndconnect
$ cd ~/go/src/github.com/LN-Zap/lndconnect
$ make install
$ cd ~/go/bin
$ ./lndconnect --lnddir=/home/admin/.lnd --image --host=z1234567890abc.onion --port=8080
```
The file `lndconnect-qr.png` will be generated.
In a Linux terminal run:
`$ scp admin@[YOUR.RASIBLITZ.IP]:~/go/bin/lndconnect-qr.png ~/`
and open the png from your home directory.
On Windows use WinSCP to download the image to your PC and open it.
Scan the QR Code with the ZeusLN app to be connected to your node through Tor!