add tor_hidden_service_example

This commit is contained in:
openoms
2020-10-11 10:10:38 +01:00
parent 77818d7743
commit 9a0887dc88
2 changed files with 38 additions and 0 deletions

View File

@@ -3,6 +3,9 @@
Start at <https://github.com/rootzoll/raspiblitz>
* #### [Create a Tor Hidden Service](tor_hidden_service_example.md)
A simple example of creating and using a Tor Hidden Service.
* #### [Electrum wallet](electrs/electrum_wallet.sh)
Download, verify and install the chosen version on a Linux desktop.
```

View File

@@ -0,0 +1,35 @@
## Create a Tor Hidden Service
A simple example of creating and using a Tor Hidden Service.
Using ThunderHub as an example.
* Install Tor:
```
$ sudo apt install tor
```
* Edit the config file:
```
$ sudo nano /etc/tor/torrc
```
* add:
```
HiddenServiceDir /var/lib/tor/thunderhub/
HiddenServicePort 80 127.0.0.1:3010
```
* restart Tor:
```
sudo systemctl restart tor
```
* note the Hidden Service address:
```
sudo cat /var/lib/tor/thunderhub/hostname
```
* Connect over the Tor Browser.
#### Notes:
The SSL stripping attack is not applicable when the traffic does not leave the Tor network so usinga self-hosted Hidden Service in the Tor Browser is not at risk.
Always make sure that the clearnet site you open in the Tor Browser uses SSL encryption (HTTPS).