AddingAnOnionService

emdee 2022-10-28 10:29:27 +00:00
parent 7bcb68bc73
commit 4c2e7330fa

@ -26,16 +26,6 @@ places like Iran should run a Tor server that provides the node as an
onionV3 service; see [[ToxAndTorInChinaAndIran]]. onionV3 service; see [[ToxAndTorInChinaAndIran]].
If you run a bootstrap node, you can run a Tor Ononv3 gateway to the If you run a bootstrap node, you can run a Tor Ononv3 gateway to the
node by simply adding the following lines to your ```torrc``` node by simply following the directions in [[AddingAnOnionService]].
configuration:
```
# Tox hidden service configuration.
HiddenServiceDir /var/lib/tor/tox-hsv3/
HiddenServicePort 3389 127.0.0.1:3389
HiddenServicePort 33446 127.0.0.1:33446
```
assuming your Tor lib directory os ```/var/lib/tor```. In that subdirectory
you will find a file named ```hostname``` which is the ```.onion``` name
of your node, the Tor equivalent of your ToxId.