diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2022-03-24 13:03:33 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2022-03-24 13:03:33 -0400 |
| commit | aade69af25d873cbdd60e21da9ff0f871c5fe199 (patch) | |
| tree | 7cb766364c77b5afaa4f22b47ce75a219cd6929b /tor.html | |
| parent | bd11be017b099f00ceae7be9707b8e12ab3c11f6 (diff) | |
| parent | 2ab89ad26e1e6b2800429c04ad9a1c0fc3301b60 (diff) | |
Merge branch 'master' of github.com:LukeSmithxyz/landchad
Diffstat (limited to 'tor.html')
| -rw-r--r-- | tor.html | 27 |
1 files changed, 13 insertions, 14 deletions
@@ -22,19 +22,21 @@ <h3>Installing Tor</h3> - <p>Firstly we need to add the Tor repos to our system to get the latest version of Tor:</p> + <p>First, we need to ensure that our CPU architecture is supported. Ensure that it is either amd64, arm64, or i386:</p> + <pre><code>dpkg --print-architecture</code></pre> + + <p>We need to <a href="https://support.torproject.org/apt/tor-deb-repo/">add the Tor repos to our system</a> to get the latest version of Tor:</p> <pre><code>apt install -y apt-transport-https gpg -echo "deb https://deb.torproject.org/torproject.org buster main -deb-src https://deb.torproject.org/torproject.org buster main" > /etc/apt/sources.list.d/tor.list</code></pre> +echo "deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org $(lsb_release -cs) main +deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org $(lsb_release -cs) main" > /etc/apt/sources.list.d/tor.list</code></pre> - <p>Then we need to add the gpg keys to our keyring:</p> + <p>Then we need to add the GPG keys to our keyring:</p> - <pre><code>curl -s https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import -gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -</code></pre> + <pre><code>curl -s https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor > /usr/share/keyrings/tor-archive-keyring.gpg</code></pre> - <p>Now update and install Tor:</p> + <p>Now install Tor:</p> - <pre><code>apt update + <pre><code>apt update apt install tor deb.torproject.org-keyring</code></pre> <h3>Enabling Tor</h3> @@ -56,11 +58,8 @@ HiddenServicePort 80 127.0.0.1:80</code></pre> <p>If the next command outputs <q>active</q> in green you're golden!</p> <pre><code> systemctl status tor</code></pre> - - <p>Finally, if you have a firewall running, remember to open port 9050:</p> - <pre><code>ufw allow 9050</code></pre> - - <p>Now your server is on the dark web. The following command will give you your onion address:</p> + + <p>Now your server is on the dark web. The following command will give you your onion address:</p> <pre><code> cat /var/lib/tor/hidden_service/hostname</code></pre> <h2>Adding the Nginx Config</h2> @@ -107,6 +106,6 @@ apt install tor</code></pre> <p><strong>Contributor</strong> - <a href="https://tomfasano.co" target="_blank">tomfasano.co</a></p> </main> - <footer><a href="https://landchad.net">LandChad.net</a></br>Because Everyone should be an Internet LandChad.</br><a href="index.html"><li><img src="pix/chad.gif" alt="chad"></li></a><a href="rss.xml"><li><img src="pix/rss.svg" alt="RSS"></li></a><a href="donate-bitcoin.html"><li><img src="pix/btc.svg" alt="BTC"></li></a><a href="donate-monero.html"><li><img src="pix/xmr.svg" alt="XMR"></li></a><a href="https://github.com/lukesmithxyz/landchad"><li><img src="pix/git.svg" alt="Github"></li></a></footer> + <footer><a href="https://landchad.net">LandChad.net</a></br>Because Everyone should be an Internet LandChad.</br><a href="index.html"><li><img src="pix/chad.gif" alt="chad"></li></a><a href="rss.xml"><li><img src="pix/rss.svg" alt="RSS"></li></a><a href="donate-bitcoin.html"><li><img src="pix/btc.svg" alt="BTC"></li></a><a href="donate-monero.html"><li><img src="pix/xmr.svg" alt="XMR"></li></a><a href="https://github.com/lukesmithxyz/landchad"><li><img src="pix/git.svg" alt="Github"></li></a></footer> </body> </html> |
