aboutsummaryrefslogtreecommitdiff
path: root/src/config/sample-server-torrc.in
blob: a53058989883cea8c7709c2521c97ff5bcbd4667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Configuration file for a typical tor node

# The directory for keeping all the config/data for this node
DataDirectory @LOCALSTATEDIR@/lib/tor
# A unique handle for this node
Nickname moria4
# The fqdn for this node
Address moria.seul.org

# Ports for various services. Comment out or set to 0 if you're not
# offering that service.
ORPort 9004 # listening for cell-speaking connections
APPort 9024 # listening for socks-speaking connections
#DirPort 0

# Leave this set, or we'll be treated like a client.
OnionRouter 1

# List of routers. Tor nodes start out knowing about the directory
# servers, and from them they get a list of currently up nodes.
RouterFile @CONFDIR@/dirservers