mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-contributions.git
synced 2025-07-02 11:56:40 +00:00
updated
This commit is contained in:
parent
b054457c86
commit
8f996f5aab
3 changed files with 41 additions and 23 deletions
|
@ -316,16 +316,21 @@ chmod 777 -R smp
|
|||
chmod 777 -R xftp
|
||||
|
||||
</pre></code>
|
||||
<p>Then we're going to configure torrc for the tor docker daemon as follows: </p>
|
||||
<p>Be aware that <a href="">SimpleX's documentation</a> doesn't recommend by default that the servers be anonymous, they only care about the users being anonymous, that's why they recommend these 3 lines in the torrc configuration:</p>
|
||||
<pre><code class="nim">
|
||||
SOCKSPort 0
|
||||
HiddenServiceNonAnonymousMode 1
|
||||
HiddenServiceSingleHopMode 1
|
||||
|
||||
</pre></code>
|
||||
<p><b>DO NOT USE THESE, otherwise your servers' location will be known. You need to use the following instead:</b></p>
|
||||
<pre><code class="nim">
|
||||
[ Wonderland ] [ /dev/pts/15 ] [/srv/simplex]
|
||||
→ vim tor-data/torrc/torrc
|
||||
|
||||
[ Wonderland ] [ /dev/pts/15 ] [/srv/simplex]
|
||||
→ cat tor-data/torrc/torrc
|
||||
SOCKSPort 0
|
||||
HiddenServiceNonAnonymousMode 1
|
||||
HiddenServiceSingleHopMode 1
|
||||
SOCKSPort 0.0.0.0:9050
|
||||
HiddenServiceDir /var/lib/tor/simplex-smp
|
||||
HiddenServicePort 5223 simplex-smp:5223
|
||||
HiddenServicePort 80 simplex-smp:80
|
||||
|
@ -333,6 +338,7 @@ chmod 777 -R xftp
|
|||
HiddenServicePort 5233 simplex-xftp:5233
|
||||
|
||||
</pre></code>
|
||||
|
||||
<p>Then we're going to run the docker containers so that it creates the tor hostnames for both the smp and xftp services, so that we can use both in the .env file:</p>
|
||||
<pre><code class="nim">
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue