summaryrefslogtreecommitdiff
path: root/doc/tor-hidden-service.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tor-hidden-service.html')
-rw-r--r--doc/tor-hidden-service.html15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/tor-hidden-service.html b/doc/tor-hidden-service.html
index 5680ab21f1..6e3ed6c949 100644
--- a/doc/tor-hidden-service.html
+++ b/doc/tor-hidden-service.html
@@ -230,14 +230,21 @@ using it as a hidden service?
<p>If you want to forward multiple virtual ports for a single hidden
service, just add more HiddenServicePort lines.
-</p>
-
-<p>If you want to run multiple hidden services from the same Tor
+If you want to run multiple hidden services from the same Tor
client, just add another HiddenServiceDir line. All the following
HiddenServicePort lines refer to this HiddenServiceDir line, until
-you add another HiddenServiceDir line.
+you add another HiddenServiceDir line:
</p>
+<pre>
+HiddenServiceDir /usr/local/etc/tor/hidden_service/
+HiddenServicePort 80 127.0.0.1:8080
+
+HiddenServiceDir /usr/local/etc/tor/other_hidden_service/
+HiddenServicePort 6667 127.0.0.1:6667
+HiddenServicePort 22 127.0.0.1:22
+</pre>
+
<p>There are some anonymity issues you should keep in mind too:
</p>
<ul>