fix-tor-guides

This commit is contained in:
oxeo0 2025-04-23 15:41:43 +02:00
parent 0bc7c1ad0a
commit 82b0b18512
3 changed files with 65 additions and 54 deletions

View file

@ -81,7 +81,7 @@ If you are still motivated to get your own exit node, keep the phone number of a
<img src="../relay/country.png" class="imgRz">
<p><u>Disclaimer:</u> <b>Do not host your Tor node in Germany, Netherlands or in the US, as there are already too many nodes in those countries.</b> Try to run your own Tor nodes in countries that have the least nodes preferably, as this will help keeping the Tor network decentralized.</p>
<p><img src="../logos/daturagit.png" style="width:100px"> <u>Sidenote:</u> Help us improve this tutorial by letting us know if there's anything missing or incorrect on this <a href="http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-contributions/issues/102">git issue</a> directly!</p>
<p><img src="../../logos/daturagit.png" style="width:100px"> <u>Sidenote:</u> Help us improve this tutorial by letting us know if there's anything missing or incorrect on this <a href="http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-contributions/issues/102">git issue</a> directly!</p>
</div>
@ -96,24 +96,26 @@ If you are still motivated to get your own exit node, keep the phone number of a
<div class="col-lg-8 col-lg-offset-2">
<h2><b>Initial setup</b></h2> </br> </br>
<pre><code class="nim">
apt update && apt -y dist-upgrade && apt -y autoremove && apt install -y curl tmux vim obfs4proxy gnupg2
<p>
Log into your Debian server and add Tor repository.<br>
This will allow you to update your Tor daemon to latest versions just after they're released. It's not recommended to use <b>tor</b> package from Debian repository since it's usually out of date.<br>
To do that, <a href="https://support.torproject.org/apt/tor-deb-repo/">check the steps on Tor project's website</a>. Commands I run are listed below, but they may change in the future.
</p>
apt update -y && apt upgrade -y
apt install curl tmux vim -y
<pre><code class="nim">root@Datura:~# apt update -y && apt upgrade -y
root@Datura:~# apt install apt-transport-https curl tmux vim obfs4proxy gnupg2 -y
root@Datura:~# cat /etc/apt/sources.list |head -n3
root@Datura:~# cat /etc/apt/sources.list | head -n3
deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org bookworm main
deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org bookworm main
root@Datura:~# wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | tee /usr/share/keyrings/tor-archive-keyring.gpg >/dev/null
apt update -y
apt install tor nyx
deb [signed-by=/usr/share/keyrings/deb.torproject.org-keyring.gpg] https://deb.torproject.org/torproject.org bookworm main
deb-src [signed-by=/usr/share/keyrings/deb.torproject.org-keyring.gpg] https://deb.torproject.org/torproject.org bookworm main
root@Datura:~# wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | tee /usr/share/keyrings/deb.torproject.org-keyring.gpg >/dev/null
root@Datura:~# apt update -y
root@Datura:~# apt install tor nyx
</code></pre>
<p>From inside nyx you can view tor's status :</p>
<pre><code class="nim">
root@exit:~# nyx