1 ## CONFIGURED FOR ARCHLINUX
3 ## Last updated 22 July 2005 for Tor 0.1.0.13.
4 ## (May or may not work for older or newer versions of Tor.)
6 ## See the man page, or http://tor.eff.org/tor-manual.html, for more
7 ## options you can use in this file.
9 # On Unix, Tor will look for this file in someplace like "~/.tor/torrc" or
12 # On Windows, Tor will look for the configuration file in someplace like
13 # "Application Data\tor\torrc" or "Application Data\<username>\tor\torrc"
15 # With the default Mac OS X installer, Tor will look in ~/.tor/torrc or
19 ## Replace this with "SocksPort 0" if you plan to run Tor only as a
20 ## server, and not make any local application connections yourself.
21 SocksPort 9050 # what port to open for local application connections
22 SocksBindAddress 127.0.0.1 # accept connections only from localhost
23 #SocksBindAddress 192.168.0.1:9100 # listen on a chosen IP/port too
25 ## Entry policies to allow/deny SOCKS requests based on IP address.
26 ## First entry that matches wins. If no SocksPolicy is set, we accept
27 ## all (and only) requests from SocksBindAddress.
28 #SocksPolicy accept 192.168.0.1/16
31 ## Allow no-name routers (ones that the dirserver operators don't
32 ## know anything about) in only these positions in your circuits.
33 ## Other choices (not advised) are entry,exit,introduction.
34 AllowUnverifiedNodes middle,rendezvous
36 ## Logs go to stdout at level "notice" unless redirected by something
37 ## else, like one of the below lines. You can have as many log lines as
40 ## Send all messages of level 'notice' or higher to /var/log/tor/notices.log
41 #Log notice file /var/log/tor/notices.log
42 ## Send only debug and info messages to /var/log/tor/debug.log
43 #Log debug-info file /var/log/tor/debug.log
44 ## Send ONLY debug messages to /var/log/tor/debug.log
45 #Log debug-debug file /var/log/tor/debug.log
46 ## To use the system log instead of Tor's logfiles, uncomment these lines:
48 ## To send all messages to stderr:
51 ## Uncomment this to start the process in the background... or use
52 ## --runasdaemon 1 on the command line.
57 ## Tor only trusts directories signed with one of these keys, and
58 ## uses the given addresses to connect to the trusted directory
59 ## servers. If no DirServer lines are specified, Tor uses the built-in
60 ## defaults (moria1, moria2, tor26), so you can leave this alone unless
61 ## you need to change it.
62 #DirServer 18.244.0.188:9031 FFCB 46DB 1339 DA84 674C 70D7 CB58 6434 C437 0441
63 #DirServer 18.244.0.114:80 719B E45D E224 B607 C537 07D0 E214 3E2D 423E 74CF
64 #DirServer 86.59.21.38:80 847B 1F85 0344 D787 6491 A548 92F9 0493 4E4E B85D
66 ## The directory for keeping all the keys/etc. By default, we store
67 ## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
68 DataDirectory /var/lib/tor
70 ## The port on which Tor will listen for local connections from Tor controller
71 ## applications, as documented in control-spec.txt. NB: this feature is
72 ## currently experimental.
75 ############### This section is just for location-hidden services ###
77 ## Look in .../hidden_service/hostname for the address to tell people.
78 ## HiddenServicePort x y:z says to redirect a port x request from the
81 #HiddenServiceDir /var/lib/tor/hidden_service/
82 #HiddenServicePort 80 127.0.0.1:80
84 #HiddenServiceDir /var/lib/tor/other_hidden_service/
85 #HiddenServicePort 80 127.0.0.1:80
86 #HiddenServicePort 22 127.0.0.1:22
87 #HiddenServiceNodes moria1,moria2
88 #HiddenServiceExcludeNodes bad,otherbad
90 ################ This section is just for servers #####################
92 ## NOTE: If you enable these, you should consider mailing your identity
93 ## key fingerprint to the tor-ops, so we can add you to the list of
94 ## servers that clients will trust. See
95 ## http://tor.eff.org/doc/tor-doc.html#server for details.
97 ## Required: A unique handle for this server
98 #Nickname ididnteditheconfig
100 ## The IP or fqdn for this server. Leave commented out and Tor will guess.
101 #Address noname.example.com
103 ## Contact info that will be published in the directory, so we can
104 ## contact you if you need to upgrade or if something goes wrong.
105 ## This is optional but recommended.
106 #ContactInfo Random Person <nobody AT example dot com>
107 ## You might also include your PGP or GPG fingerprint if you have one:
108 #ContactInfo 1234D/FFFFFFFF Random Person <nobody AT example dot com>
110 ## Required: what port to advertise for tor connections
112 ## If you want to listen on a port other than the one advertised
113 ## in ORPort (e.g. to advertise 443 but bind to 9090), uncomment
114 ## the line below. You'll need to do ipchains or other port forwarding
115 ## yourself to make this work.
116 #ORBindAddress 0.0.0.0:9090
118 ## Uncomment this to mirror the directory for others (please do)
119 #DirPort 9030 # what port to advertise for directory connections
120 ## If you want to listen on a port other than the one advertised
121 ## in DirPort (e.g. to advertise 80 but bind 9091), uncomment the line
122 ## below. You'll need to do ipchains or other port forwarding yourself
123 ## to make this work.
124 #DirBindAddress 0.0.0.0:9091
126 ## A comma-separated list of exit policies. They're considered first
127 ## to last, and the first match wins. If you want to *replace*
128 ## the default exit policy, end this with either a reject *:* or an
129 ## accept *:*. Otherwise, you're *augmenting* (prepending to) the
130 ## default exit policy. Leave commented to just use the default, which is
131 ## available in the man page or at http://tor.eff.org/documentation.html
133 ## Look at http://tor.eff.org/faq-abuse.html#TypicalAbuses
134 ## for issues you might encounter if you use the default exit policy.
136 ## If certain IPs and ports are blocked externally, e.g. by your firewall,
137 ## you should update your exit policy to reflect this -- otherwise Tor
138 ## users will be told that those destinations are down.
140 #ExitPolicy accept *:6660-6667,reject *:* # allow irc ports but no more
141 #ExitPolicy accept *:119 # accept nntp as well as default exit policy
142 #ExitPolicy reject *:* # middleman only -- no exits allowed