mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2026-01-05 12:54:23 +01:00
1.1 KiB
1.1 KiB
Configure a Tor Hidden Service for Electrs
Tor needs to be active on the RaspiBlitz to use this method.
No port forwarding or dynamicDNS required.
On the RaspiBlitz terminal:
-
Open the Tor configuration file:
# nano /mnt/hdd/tor/torrc -
Insert the lines:
# Hidden Service for Electrum Server HiddenServiceDir /mnt/hdd/tor/electrs HiddenServiceVersion 3 HiddenServicePort 50001 127.0.0.1:50001 -
Restart Tor:
# systemctl restart tor
# systemctl restart tor@default -
Show the Tor address:
# cat /mnt/hdd/tor/electrs/hostname
On a Linux PC:
-
Start electrum with the Tor Browser open (proxy on port 9150):
$ electrum --oneserver --server Tor_address.onion:50001:t --proxy socks5:127.0.0.1:9150 -
With Tor installed and running(proxy on port 9050):
$ electrum --oneserver --server Tor_address.onion:50001:t --proxy socks5:127.0.0.1:9050
Windows instructions:
http://docs.electrum.org/en/latest/tor.html#windows
Based on:
https://github.com/romanz/electrs/blob/master/doc/usage.md#tor-hidden-service