1// Tox DHT bootstrap daemon configuration file.
2
3// Listening port (UDP).
4port = 33445
5
6// A key file is like a password, so keep it where no one can read it.
7// If there is no key file, a new one will be generated.
8// The daemon should have permission to read/write it.
9keys_file_path = "/var/lib/tox-bootstrapd/keys"
10
11// The PID file written to by the daemon.
12// Make sure that the user that daemon runs as has permissions to write to the
13// PID file.
14pid_file_path = "/var/run/tox-bootstrapd/tox-bootstrapd.pid"
15
16// Enable IPv6.
17enable_ipv6 = true
18
19// Fallback to IPv4 in case IPv6 fails.
20enable_ipv4_fallback = true
21
22// Automatically bootstrap with nodes on local area network.
23enable_lan_discovery = true
24
25enable_tcp_relay = true
26
27// While Tox uses 33445 port by default, 443 (https) and 3389 (rdp) ports are very
28// common among nodes, so it's encouraged to keep them in place.
29tcp_relay_ports = [443, 3389, 33445]
30
31// Reply to MOTD (Message Of The Day) requests.
32enable_motd = true
33
34// Just a message that is sent when someone requests MOTD.
35// Put anything you want, but note that it will be trimmed to fit into 255 bytes.
36motd = "tox-bootstrapd"
37
38// Any number of nodes the daemon will bootstrap itself off.
39//
40// Remember to replace the provided example with your own node list.
41// There is a maintained list of bootstrap nodes on Tox's wiki, if you need it
42// (https://wiki.tox.chat/doku.php?id=users:nodes).
43//
44// You may leave the list empty or remove "bootstrap_nodes" completely,
45// in both cases this will be interpreted as if you don't want to bootstrap
46// from anyone.
47//
48// address = any IPv4 or IPv6 address and also any US-ASCII domain name.
49bootstrap_nodes = (
50  { // Example Node 1 (IPv4)
51    address = "127.0.0.1"
52    port = 33445
53    public_key = "728925473812C7AAC482BE7250BCCAD0B8CB9F737BF3D42ABD34459C1768F854"
54  },
55  { // Example Node 2 (IPv6)
56    address = "::1/128"
57    port = 33445
58    public_key = "3E78BACF0F84235B30054B54898F56793E1DEF8BD46B1038B9D822E8460FAB67"
59  },
60  { // Example Node 3 (US-ASCII domain name)
61    address = "example.org"
62    port = 33445
63    public_key = "8CD5A9BF0A6CE358BA36F7A653F99FA6B258FF756E490F52C1F98CC420F78858"
64  }
65)