2014-02-23 06:06:07 +08:00
|
|
|
// ProjectTox dht bootstrap node daemon configuration file.
|
2014-01-19 13:43:31 +08:00
|
|
|
|
2014-01-26 09:37:01 +08:00
|
|
|
// Listening port.
|
2014-01-19 13:43:31 +08:00
|
|
|
port = 33445
|
|
|
|
|
2014-05-18 11:57:24 +08:00
|
|
|
// A key file is like a password, so keep it where no one can read it.
|
2014-01-26 09:37:01 +08:00
|
|
|
// The daemon should have permission to read/write to it.
|
|
|
|
// Remember to replace the provided example with your own path.
|
2014-05-19 07:38:45 +08:00
|
|
|
keys_file_path = "/home/tom/.tox_bootstrap_daemon/.tox_bootstrap_daemon.keys"
|
2014-01-19 13:43:31 +08:00
|
|
|
|
2014-01-26 09:37:01 +08:00
|
|
|
// The PID file written to by daemon.
|
|
|
|
// Make sure that the user who runs the daemon has permissions to write to the
|
|
|
|
// PID file.
|
|
|
|
// Remember to replace the provided example with your own path.
|
2014-05-19 07:38:45 +08:00
|
|
|
pid_file_path = "/home/tom/.tox_bootstrap_daemon/.tox_bootstrap_daemon.pid"
|
2014-01-19 13:43:31 +08:00
|
|
|
|
2014-01-26 09:37:01 +08:00
|
|
|
// Enable IPv6.
|
2014-01-19 13:43:31 +08:00
|
|
|
enable_ipv6 = false
|
|
|
|
|
2014-01-26 09:37:01 +08:00
|
|
|
// Automatically bootstrap with nodes on local area network.
|
2014-01-19 13:43:31 +08:00
|
|
|
enable_lan_discovery = true
|
|
|
|
|
2014-05-18 08:36:16 +08:00
|
|
|
enable_tcp_relay = true
|
|
|
|
|
2014-05-19 07:31:50 +08:00
|
|
|
// Tox uses 443, 3389 and 33445 ports by default, so it's highly recommended to keep
|
2014-05-18 11:57:24 +08:00
|
|
|
// them.
|
2014-05-19 07:31:50 +08:00
|
|
|
tcp_relay_ports = [443, 3389, 33445]
|
2014-05-18 08:36:16 +08:00
|
|
|
|
2014-05-18 11:57:24 +08:00
|
|
|
// It's planned to use message of the day as a convenient method of checking
|
|
|
|
// whether a node is up or not, though there are other methods of doing that.
|
|
|
|
enable_motd = true
|
|
|
|
|
|
|
|
motd = "tox_bootstrap_daemon"
|
|
|
|
|
2014-02-23 06:06:07 +08:00
|
|
|
// Any number of nodes the daemon will bootstrap itself from.
|
|
|
|
// Remember to replace the provided example with your own node list.
|
|
|
|
// There is a maintained list of bootstrap nodes on Tox's wiki, if you need it.
|
|
|
|
// You may leave the list empty or remove "bootstrap_nodes" complitely,
|
2014-01-26 09:37:01 +08:00
|
|
|
// in both cases this will be interpreted as if you don't want to bootstrap
|
|
|
|
// from anyone.
|
2014-02-23 06:06:07 +08:00
|
|
|
bootstrap_nodes = (
|
|
|
|
{ // Node 1
|
2014-05-18 11:57:24 +08:00
|
|
|
// Any ipv4 or ipv6, depending on whether `enable_ipv6` is set or not, and
|
|
|
|
// also any US-ASCII domain name.
|
2014-01-19 13:43:31 +08:00
|
|
|
address = "198.46.136.167"
|
|
|
|
port = 33445
|
|
|
|
public_key = "728925473812C7AAC482BE7250BCCAD0B8CB9F737BF3D42ABD34459C1768F854"
|
|
|
|
},
|
2014-02-23 06:06:07 +08:00
|
|
|
{ // Node 2
|
2014-01-19 13:43:31 +08:00
|
|
|
address = "example.org"
|
|
|
|
port = 33445
|
|
|
|
public_key = "8CD5A9BF0A6CE358BA36F7A653F99FA6B258FF756E490F52C1F98CC420F78858"
|
|
|
|
}
|
|
|
|
)
|