From 73ced75cda933f43113e3262d5171311c68bbfaf Mon Sep 17 00:00:00 2001 From: el3ctr0lyte <69082962+el3ctr0lyte@users.noreply.github.com> Date: Thu, 1 Jul 2021 09:10:05 +0200 Subject: Updated tor guide --- tor.html | 19 +++++++++++++++++-- 1 file 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 @@

Setting up Tor

-

First, install tor. On Debian it's as simple as:

+

Firstly we need to add the tor repo's to have the latest up to date version or tor.

-
 apt install tor
+
echo "deb https://deb.torproject.org/torproject.org buster main" > /etc/apt/sources.list.d/
+
echo "deb-src https://deb.torproject.org/torproject.org buster main" >> /etc/apt/sources.list.d/
+ +

Then we need to add the gpg keys to our keyring

+ +
curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
+	
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
+	    
+	

Now update and install tor

+ +
apt update
+
apt install tor deb.torproject.org-keyring

Then edit the file /etc/tor/torrc, uncommenting the following lines:

        HiddenServiceDir /var/lib/tor/hidden_service/
@@ -72,6 +83,10 @@
         

From here we are almost done, all we have to do is enable the site and reload nginx which is also covered in the webserver tutorial.

+

Also make sure to update tor on a regular basis by running

+
apt update
+
apt install tor
+ Contributor - tomfasano.xyz -- cgit v1.2.3 From 49f45ee59d713b53c96e77cf93ecc05b8a016037 Mon Sep 17 00:00:00 2001 From: el3ctr0lyte <69082962+el3ctr0lyte@users.noreply.github.com> Date: Thu, 1 Jul 2021 09:15:11 +0200 Subject: Update tor.html --- tor.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tor.html b/tor.html index 52941ed..fb8c896 100644 --- a/tor.html +++ b/tor.html @@ -26,7 +26,7 @@

Setting up Tor

Firstly we need to add the tor repo's to have the latest up to date version or tor.

- +
apt install apt-transport-https
echo "deb https://deb.torproject.org/torproject.org buster main" > /etc/apt/sources.list.d/
echo "deb-src https://deb.torproject.org/torproject.org buster main" >> /etc/apt/sources.list.d/
-- cgit v1.2.3 From eb18006d34821e3309acc8fd48633762cee301a4 Mon Sep 17 00:00:00 2001 From: el3ctr0lyte <69082962+el3ctr0lyte@users.noreply.github.com> Date: Thu, 1 Jul 2021 09:33:53 +0200 Subject: Update tor.html --- tor.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tor.html b/tor.html index fb8c896..5b5aa41 100644 --- a/tor.html +++ b/tor.html @@ -27,8 +27,8 @@

Firstly we need to add the tor repo's to have the latest up to date version or tor.

apt install apt-transport-https
-
echo "deb https://deb.torproject.org/torproject.org buster main" > /etc/apt/sources.list.d/
-
echo "deb-src https://deb.torproject.org/torproject.org buster main" >> /etc/apt/sources.list.d/
+
echo "deb https://deb.torproject.org/torproject.org buster main" > /etc/apt/sources.list.d/tor
+
echo "deb-src https://deb.torproject.org/torproject.org buster main" >> /etc/apt/sources.list.d/tor

Then we need to add the gpg keys to our keyring

-- cgit v1.2.3