tor/torrc

changeset 791
a5b2210360f9
parent 789
cbbc8daa8174
equal deleted inserted replaced
0:0f82b39625ac 1:48a7bbfac4f6
3 ## 3 ##
4 4
5 # ==== CLIENT CONFIGURATION ==== 5 # ==== CLIENT CONFIGURATION ====
6 6
7 RunAsDaemon 1 7 RunAsDaemon 1
8 User @l_rusr@
8 DataDirectory @l_prefix@/var/tor/db 9 DataDirectory @l_prefix@/var/tor/db
9 PIDFile @l_prefix@/var/tor/tor.pid 10 PIDFile @l_prefix@/var/tor/tor.pid
10 Log notice file @l_prefix@/var/tor/tor.log 11 Log notice file @l_prefix@/var/tor/tor.log
11 12
12 SocksPort 9050 13 #SocksPort 9050
14 SocksPort 0
13 SocksBindAddress 127.0.0.1 15 SocksBindAddress 127.0.0.1
14 SocksPolicy accept 127.0.0.1/8 16 SocksPolicy accept 127.0.0.1/8
15 SocksPolicy reject * 17 SocksPolicy reject *
16 OutboundBindAddress 0.0.0.0 18 OutboundBindAddress 0.0.0.0
17 19
24 26
25 #HiddenServiceDir @l_prefix@/var/tor/db/service/ 27 #HiddenServiceDir @l_prefix@/var/tor/db/service/
26 #HiddenServicePort 80 127.0.0.1:80 28 #HiddenServicePort 80 127.0.0.1:80
27 #HiddenServicePort 22 127.0.0.1:22 29 #HiddenServicePort 22 127.0.0.1:22
28 30
31 #BridgeRelay 1
32 #PublishServerDescriptor 0
29 #Nickname ExampleTOR 33 #Nickname ExampleTOR
30 #Address tor.example.com 34 #Address tor.example.com
31 #ContactInfo TOR Administrator <tor@example.com> 35 #ContactInfo TOR Administrator <tor@example.com>
32 #ORPort 9001 36 #ORPort 9001
33 #ORBindAddress 0.0.0.0:9001 37 #ORBindAddress 0.0.0.0:9001
34 #DirPort 9030 38 #DirPort 9030 # Make this 80 if you want to serve HTML blurb
35 #DirBindAddress 0.0.0.0:9030 39 #DirBindAddress 0.0.0.0:9030
40 #DirPortFrontPage @l_prefix@/etc/tor/notice.html
41 #RelayBandwidthRate 100 KB # Throttle to 100KB/s (800Kbps)
42 #RelayBandwidthBurst 200 KB
36 #ExitPolicy accept *:6660-6667,reject *:* 43 #ExitPolicy accept *:6660-6667,reject *:*
37 #ExitPolicy accept *:119 44 #ExitPolicy accept *:119
38 #ExitPolicy reject *:* 45 #ExitPolicy reject *:*
39 46

mercurial