and update the sample torrc to reflect the *listenaddress notation

svn:r5261
This commit is contained in:
Roger Dingledine 2005-10-17 03:23:05 +00:00
parent fd165329b8
commit 38c6985fff

View File

@ -1,5 +1,5 @@
## Configuration file for a typical Tor user ## Configuration file for a typical Tor user
## Last updated 23 September 2005 for Tor 0.1.1.8-alpha. ## Last updated 16 October 2005 for Tor 0.1.1.9-alpha.
## (May or may not work for older or newer versions of Tor.) ## (May or may not work for older or newer versions of Tor.)
# #
## See the man page, or http://tor.eff.org/tor-manual.html, for more ## See the man page, or http://tor.eff.org/tor-manual.html, for more
@ -18,12 +18,12 @@
## Replace this with "SocksPort 0" if you plan to run Tor only as a ## Replace this with "SocksPort 0" if you plan to run Tor only as a
## server, and not make any local application connections yourself. ## server, and not make any local application connections yourself.
SocksPort 9050 # what port to open for local application connections SocksPort 9050 # what port to open for local application connections
SocksBindAddress 127.0.0.1 # accept connections only from localhost SocksListenAddress 127.0.0.1 # accept connections only from localhost
#SocksBindAddress 192.168.0.1:9100 # listen on a chosen IP/port too #SocksListenAddress 192.168.0.1:9100 # listen on a chosen IP/port too
## Entry policies to allow/deny SOCKS requests based on IP address. ## Entry policies to allow/deny SOCKS requests based on IP address.
## First entry that matches wins. If no SocksPolicy is set, we accept ## First entry that matches wins. If no SocksPolicy is set, we accept
## all (and only) requests from SocksBindAddress. ## all (and only) requests from SocksListenAddress.
#SocksPolicy accept 192.168.0.1/16 #SocksPolicy accept 192.168.0.1/16
#SocksPolicy reject * #SocksPolicy reject *
@ -104,7 +104,7 @@ AllowUnverifiedNodes middle,rendezvous
## in ORPort (e.g. to advertise 443 but bind to 9090), uncomment ## in ORPort (e.g. to advertise 443 but bind to 9090), uncomment
## the line below. You'll need to do ipchains or other port forwarding ## the line below. You'll need to do ipchains or other port forwarding
## yourself to make this work. ## yourself to make this work.
#ORBindAddress 0.0.0.0:9090 #ORListenAddress 0.0.0.0:9090
## Uncomment this to mirror the directory for others (please do) ## Uncomment this to mirror the directory for others (please do)
#DirPort 9030 # what port to advertise for directory connections #DirPort 9030 # what port to advertise for directory connections
@ -112,7 +112,7 @@ AllowUnverifiedNodes middle,rendezvous
## in DirPort (e.g. to advertise 80 but bind 9091), uncomment the line ## in DirPort (e.g. to advertise 80 but bind 9091), uncomment the line
## below. You'll need to do ipchains or other port forwarding yourself ## below. You'll need to do ipchains or other port forwarding yourself
## to make this work. ## to make this work.
#DirBindAddress 0.0.0.0:9091 #DirListenAddress 0.0.0.0:9091
## Uncomment this if you run more than one Tor server, and add the ## Uncomment this if you run more than one Tor server, and add the
## nickname of each Tor server you control, even if they're on different ## nickname of each Tor server you control, even if they're on different