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(-) (limited to 'tor.html') diff --git a/tor.html b/tor.html index 0d54b5f..52941ed 100644 --- a/tor.html +++ b/tor.html @@ -25,9 +25,20 @@
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 updateapt install tor deb.torproject.org-keyringThen 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+ Contributor - tomfasano.xyz -- cgit v1.2.3apt install tor