summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorel3ctr0lyte <69082962+el3ctr0lyte@users.noreply.github.com>2021-07-01 09:10:05 +0200
committerGitHub <noreply@github.com>2021-07-01 09:10:05 +0200
commit73ced75cda933f43113e3262d5171311c68bbfaf (patch)
treeda13e2e8198968acb9f7b63525d72a4a9e30e417
parent71741bc76e6ecd254876b249654a0e3afa50f320 (diff)
Updated tor guide
-rw-r--r--tor.html19
1 files changed, 17 insertions, 2 deletions
diff --git a/tor.html b/tor.html
index 0d54b5f..52941ed 100644
--- a/tor.html
+++ b/tor.html
@@ -25,9 +25,20 @@
<h2>Setting up Tor</h2>
- <p>First, install tor. On Debian it's as simple as:</p>
+ <p>Firstly we need to add the tor repo's to have the latest up to date version or tor.</p>
- <pre><code> apt install tor</code></pre>
+ <pre><code>echo "deb https://deb.torproject.org/torproject.org buster main" > /etc/apt/sources.list.d/</code></pre>
+ <pre><code>echo "deb-src https://deb.torproject.org/torproject.org buster main" >> /etc/apt/sources.list.d/</code></pre>
+
+ <p>Then we need to add the gpg keys to our keyring</p>
+
+ <pre><code>curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import</code></code>
+ <pre><code>gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -</code></code>
+
+ <p>Now update and install tor</p>
+
+ <pre><code>apt update</code></pre>
+ <pre><code>apt install tor deb.torproject.org-keyring</code></pre>
<p>Then edit the file <code>/etc/tor/torrc</code>, uncommenting the following lines:</p>
<pre><code> HiddenServiceDir /var/lib/tor/hidden_service/
@@ -72,6 +83,10 @@
<p>
From here we are almost done, all we have to do is enable the site and reload nginx which is also covered in <a href="nginx.html#enable">the webserver tutorial</a>.
</p>
+ <p> Also make sure to update tor on a regular basis by running</p>
+ <pre><code>apt update</code></pre>
+ <pre><code>apt install tor</code></pre>
+
<strong>Contributor</strong> - <a href="https://tomfasano.xyz" target="_blank">tomfasano.xyz</a>
</main>