You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

66 lines
2.1 KiB

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