tor/torrc

Sat, 25 Jan 2014 18:21:16 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 25 Jan 2014 18:21:16 +0100
changeset 791
a5b2210360f9
parent 789
cbbc8daa8174
permissions
-rw-r--r--

Improve runtime configuration including additional network definition.

michael@789 1 ##
michael@789 2 ## torrc -- Tor Daemon Configuration
michael@789 3 ##
michael@789 4
michael@789 5 # ==== CLIENT CONFIGURATION ====
michael@789 6
michael@789 7 RunAsDaemon 1
michael@791 8 User @l_rusr@
michael@789 9 DataDirectory @l_prefix@/var/tor/db
michael@789 10 PIDFile @l_prefix@/var/tor/tor.pid
michael@789 11 Log notice file @l_prefix@/var/tor/tor.log
michael@789 12
michael@791 13 #SocksPort 9050
michael@791 14 SocksPort 0
michael@789 15 SocksBindAddress 127.0.0.1
michael@789 16 SocksPolicy accept 127.0.0.1/8
michael@789 17 SocksPolicy reject *
michael@789 18 OutboundBindAddress 0.0.0.0
michael@789 19
michael@789 20 AllowUnverifiedNodes middle,rendezvous
michael@789 21 #DirServer 18.244.0.188:9031 FFCB 46DB 1339 DA84 674C 70D7 CB58 6434 C437 0441
michael@789 22 #DirServer 18.244.0.114:80 719B E45D E224 B607 C537 07D0 E214 3E2D 423E 74CF
michael@789 23 #DirServer 86.59.5.130:80 847B 1F85 0344 D787 6491 A548 92F9 0493 4E4E B85D
michael@789 24
michael@789 25 # ==== SERVER CONFIGURATION ====
michael@789 26
michael@789 27 #HiddenServiceDir @l_prefix@/var/tor/db/service/
michael@789 28 #HiddenServicePort 80 127.0.0.1:80
michael@789 29 #HiddenServicePort 22 127.0.0.1:22
michael@789 30
michael@791 31 #BridgeRelay 1
michael@791 32 #PublishServerDescriptor 0
michael@789 33 #Nickname ExampleTOR
michael@789 34 #Address tor.example.com
michael@789 35 #ContactInfo TOR Administrator <tor@example.com>
michael@789 36 #ORPort 9001
michael@789 37 #ORBindAddress 0.0.0.0:9001
michael@791 38 #DirPort 9030 # Make this 80 if you want to serve HTML blurb
michael@789 39 #DirBindAddress 0.0.0.0:9030
michael@791 40 #DirPortFrontPage @l_prefix@/etc/tor/notice.html
michael@791 41 #RelayBandwidthRate 100 KB # Throttle to 100KB/s (800Kbps)
michael@791 42 #RelayBandwidthBurst 200 KB
michael@789 43 #ExitPolicy accept *:6660-6667,reject *:*
michael@789 44 #ExitPolicy accept *:119
michael@789 45 #ExitPolicy reject *:*
michael@789 46

mercurial