[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] better example
Update of /home2/or/cvsroot/tor/doc
In directory moria:/home/arma/work/onion/cvs/tor/doc
Modified Files:
tor-hidden-service.html
Log Message:
better example
Index: tor-hidden-service.html
===================================================================
RCS file: /home2/or/cvsroot/tor/doc/tor-hidden-service.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- tor-hidden-service.html 23 Jul 2005 10:59:43 -0000 1.6
+++ tor-hidden-service.html 23 Jul 2005 11:00:53 -0000 1.7
@@ -230,14 +230,21 @@
<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>