Roger Dingledine пре 20 година
родитељ
комит
a4510dce66
1 измењених фајлова са 11 додато и 4 уклоњено
  1. 11 4
      doc/tor-hidden-service.html

+ 11 - 4
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
 <p>If you want to forward multiple virtual ports for a single hidden
 service, just add more HiddenServicePort lines.
 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
 client, just add another HiddenServiceDir line. All the following
 HiddenServicePort lines refer to this HiddenServiceDir line, until
 HiddenServicePort lines refer to this HiddenServiceDir line, until
-you add another HiddenServiceDir line.
+you add another HiddenServiceDir line:
 </p>
 </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>There are some anonymity issues you should keep in mind too:
 </p>
 </p>
 <ul>
 <ul>