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