forked from chriswayg/tor-server
-
Notifications
You must be signed in to change notification settings - Fork 1
/
torrc
43 lines (34 loc) · 1.41 KB
/
torrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
##=================== /etc/torrc =====================##
# see /usr/local/etc/tor/torrc.sample and https://www.torproject.org/docs/tor-manual.html.en
User tord
DataDirectory /var/lib/tor
# Server's public IP Address (usually automatic)
#Address 10.10.10.10
# Port to advertise for incoming Tor connections.
ORPort 9001 # common ports are 9001, 443
#ORPort [IPv6-address]:9001
# Mirror directory information for others (optional, not used on bridge)
DirPort 9030 # common ports are 9030, 80
# Run Tor only as a server (no local applications)
SocksPort 0
ControlSocket 0
# Run as a relay only (change policy to enable exit node)
ExitPolicy reject *:* # no exits allowed
ExitPolicy reject6 *:*
ExitRelay 0
IPv6Exit 0
# Set limits
#AccountingMax 999 GB
#RelayBandwidthRate 512 KB # Throttle traffic to
#RelayBandwidthBurst 1024 KB # But allow bursts up to
#MaxMemInQueues 512 MB # Limit Memory usage to
## Run Tor as obfuscated bridge
# https://trac.torproject.org/projects/tor/wiki/doc/PluggableTransports/obfs4proxy
#ServerTransportPlugin obfs4 exec /usr/local/bin/obfs4proxy
#ServerTransportListenAddr obfs4 0.0.0.0:54444
#ExtORPort auto
#BridgeRelay 1
## If no Nickname or ContactInfo is set, docker-entrypoint will use
## the environment variables to add Nickname/ContactInfo below
#Nickname Tor4example # only use letters and numbers
#ContactInfo [email protected]