-
Notifications
You must be signed in to change notification settings - Fork 1
/
torrc
55 lines (39 loc) · 1.35 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
44
45
46
47
48
49
50
51
52
53
54
55
# See https://www.torproject.org/docs/tor-manual.html.en
# Default folder where tor generate required files (don't change it)
DataDirectory /var/lib/tor
# Your public IP address. Tor will discover it bur if you have DDNS domain
# put it
#Address XXXX.duckdns.org OR static IP
# Port to advertise for incoming Tor connections.
ORPort 9001 IPv4Only
ExtORPort
# Define a port to use as a entry point of the tor network
SocksPort 9050
# Set a control port to be used by external apps like Nyx
Controlport 9051
CookieAuthentication 1
# No exits allowed
ExitPolicy reject *:*
ExitPolicy reject6 *:*
IPv6Exit 0
# Run as a relay and bridge
ExitRelay 0
BridgeRelay 1
ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy
ServerTransportListenAddr obfs4 0.0.0.0:8024
# Set some limits
# Limits the max number of bytes sent and received
#AccountingMax 100GB
# Specify how long accounting periods last
#AccountingStart day 00:00
# Limits the average incoming and outgoing bandwidth
# Throttle traffic to
RelayBandwidthRate 768 KB
# Limit the maximum token bucket size (also known as the burst)
RelayBandwidthBurst 1024 KB
# Set maximun memory usage
#MaxMemInQueues 512 MB
# Set a nickname to your relay using only letters and numbers
Nickname TorRelayNick
# contact info (mail, Twitter, facebook, wallet address...)
ContactInfo '(mail, Twitter, facebook, wallet address...)'