-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtorrc
46 lines (34 loc) · 995 Bytes
/
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
# Run Tor only as a relay
SOCKSPort 0
ControlSocket 0
# Log to stdout
Log notice stdout
## Required: what port to advertise for incoming Tor connections.
ORPort 9001
## The full DNS name for incoming connections to your relay.
Address example.com
## Disables ipv6
# AddressDisableIPv6 1
## A handle for your relay, so people don't have to refer to it by key.
Nickname such_nickname
## Administrative contact information for this relay.
ContactInfo John DOE <[email protected]>
# You might also include your PGP or GPG fingerprint if you have one:
# ContactInfo 0xFFFFFFFF John DOE <[email protected]>
# Don't be an exit relay
ExitRelay 0
# Enable Metrics with prometeus
#MetricsPort 5000
# Set who can access metrics
#MetricsPortPolicy accept <ip>
# More Statistics
CellStatistics 1
ConnDirectionStatistics 1
DirReqStatistics 1
EntryStatistics 1
SafeLogging 1
# Set GeoIP file location
GeoIPFile /var/lib/tor/geoip
GeoIPv6File /var/lib/tor/geoip6
# Tor cannot exec another executable
NoExec 1