summaryrefslogtreecommitdiffstats
path: root/tutorials/how-to-host-a-tor-hidden-service.html
diff options
context:
space:
mode:
Diffstat (limited to 'tutorials/how-to-host-a-tor-hidden-service.html')
-rw-r--r--tutorials/how-to-host-a-tor-hidden-service.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/tutorials/how-to-host-a-tor-hidden-service.html b/tutorials/how-to-host-a-tor-hidden-service.html
index cfba522..aebc21c 100644
--- a/tutorials/how-to-host-a-tor-hidden-service.html
+++ b/tutorials/how-to-host-a-tor-hidden-service.html
@@ -11,7 +11,7 @@
<p>You may need to enable the service first. I think this is done by default now, but it doesn't hurt:</p>
<pre><code>$ sudo systemctl enable tor.service</code></pre>
<h3 id="configure-tor">Configure Tor</h3>
-<p>You'll need to edit the file <code>/etc/tor/torrc</code> before your service can be available over Tor. Use vim, nano, or whatever you like to edit the file (as root!) and search for the following lines:</p>
+<p>You'll need to edit the file "/etc/tor/torrc" before your service can be available over Tor. Use vim, nano, or whatever you like to edit the file (as root!) and search for the following lines:</p>
<pre><code>#HiddenServiceDir /var/lib/tor/hidden_service/
#HiddenServicePort 80 127.0.0.1:80</code></pre>
<p>Remove the '#' at the beginning oh each and change the port to 8000 like so:</p>
@@ -29,6 +29,6 @@ HiddenServicePort 80 127.0.0.1:8000</code></pre>
<p>Change into the directory and run Python's built-in http server:</p>
<pre><code>$ cd files
$ python3 -m http.server</code></pre>
-<p>You'll see the server is being hosted on port 8000, which is what we chose in the config file earlier. Just leave it running, or send it to the background with Ctrl+Z and run <code>bg</code>.</p>
-<p>And that's it! You are now the proud owner of a tor hidden service. Take the hostname you copied down before and add <code>.onion</code> to the end and give it to your friends so they can browse the files in the directory through the Tor Browser.</p>
+<p>You'll see the server is being hosted on port 8000, which is what we chose in the config file earlier. Just leave it running, or send it to the background with Ctrl+Z and run "bg".</p>
+<p>And that's it! You are now the proud owner of a tor hidden service. Take the hostname you copied down before and add ".onion" to the end and give it to your friends so they can browse the files in the directory through the Tor Browser.</p>
<p>Be sure to watch the program log though... lest they get up to no good.</p>