mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
move the rendezous section of the torrc to the middle, since
it isn't server-only, and indeed it may be unwise to run a hidden service on a server. svn:r2995
This commit is contained in:
parent
7c81603f3a
commit
40c97ac504
@ -52,7 +52,22 @@ AllowUnverifiedNodes middle,rendezvous
|
|||||||
## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
|
## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
|
||||||
#DataDirectory @LOCALSTATEDIR@/lib/tor
|
#DataDirectory @LOCALSTATEDIR@/lib/tor
|
||||||
|
|
||||||
##################### Below is just for servers #####################
|
############### This section is just for location-hidden services ###
|
||||||
|
|
||||||
|
## Look in .../hidden_service/hostname for the address to tell people.
|
||||||
|
## HiddenServicePort x y:z says to redirect a port x request from the
|
||||||
|
## client to y:z.
|
||||||
|
|
||||||
|
#HiddenServiceDir @LOCALSTATEDIR@/lib/tor/hidden_service/
|
||||||
|
#HiddenServicePort 80 127.0.0.1:80
|
||||||
|
|
||||||
|
#HiddenServiceDir @LOCALSTATEDIR@/lib/tor/other_hidden_service/
|
||||||
|
#HiddenServicePort 80 127.0.0.1:80
|
||||||
|
#HiddenServicePort 22 127.0.0.1:22
|
||||||
|
#HiddenServiceNodes moria1,moria2
|
||||||
|
#HiddenServiceExcludeNodes bad,otherbad
|
||||||
|
|
||||||
|
################ This section is just for servers #####################
|
||||||
|
|
||||||
## NOTE: If you enable these, you should consider mailing your identity
|
## NOTE: If you enable these, you should consider mailing your identity
|
||||||
## key fingerprint to the tor-ops, so we can add you to the list of
|
## key fingerprint to the tor-ops, so we can add you to the list of
|
||||||
@ -88,18 +103,3 @@ AllowUnverifiedNodes middle,rendezvous
|
|||||||
#ExitPolicy reject 192.168.0.1:*
|
#ExitPolicy reject 192.168.0.1:*
|
||||||
#ExitPolicy reject *:*
|
#ExitPolicy reject *:*
|
||||||
|
|
||||||
##################### Below is just for location-hidden services ###
|
|
||||||
|
|
||||||
## Look in .../hidden_service/hostname for the url to tell people.
|
|
||||||
## HiddenServicePort x y:z says to redirect a port x request from the
|
|
||||||
## client to y:z.
|
|
||||||
|
|
||||||
#HiddenServiceDir @LOCALSTATEDIR@/lib/tor/hidden_service/
|
|
||||||
#HiddenServicePort 80 127.0.0.1:80
|
|
||||||
|
|
||||||
#HiddenServiceDir @LOCALSTATEDIR@/lib/tor/other_hidden_service/
|
|
||||||
#HiddenServicePort 80 127.0.0.1:80
|
|
||||||
#HiddenServicePort 22 127.0.0.1:22
|
|
||||||
#HiddenServiceNodes moria1,moria2
|
|
||||||
#HiddenServiceExcludeNodes bad,otherbad
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user