1
0

domain.tmpl 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. {
  2. -- name of this domain
  3. domain_names = {
  4. %DC = '%DN',
  5. },
  6. -- domain seed
  7. domain_seed = '%SE',
  8. -- hide this domain
  9. hide_domain = %HI,
  10. -- v4 and v6 prefixes in which nodes+clients might get an IP
  11. prefix4 = '%V4',
  12. prefix6 = '2a03:2260:2342:%V6::/64',
  13. -- wifi settings (2.4 GHz and 5 GHz)
  14. wifi24 = {
  15. ap = {
  16. ssid = '%SS',
  17. },
  18. mesh = {
  19. id = 'ffho-mesh-%MI',
  20. },
  21. },
  22. wifi5 = {
  23. ap = {
  24. ssid = '%SS',
  25. },
  26. mesh = {
  27. id = 'ffho-mesh-%MI',
  28. },
  29. },
  30. -- IP address of each router
  31. -- At this IP a client can always connect to its
  32. -- currently connected node. Both v4 and v6 addr.
  33. -- must lie in the above prefix4 and prefix6.
  34. next_node = {
  35. ip4 = '%N4',
  36. ip6 = '2a03:2260:2342:%V6::1',
  37. name = {'node.ffho.net', 'node.%DN.ffho.net', 'node.%MI.ffho.net', 'nextnode'},
  38. -- mac address, must be unique in the client network
  39. -- (usually, you don't need to change this)
  40. mac = 'f2:ff:ff:%ID:ff:ff',
  41. },
  42. mesh_vpn = {
  43. -- fastd (vpn) settings
  44. fastd = {
  45. groups = {
  46. backbone = {
  47. -- list all available vpn servers
  48. peers = {
  49. gw01 = {
  50. key = '97bc56ae561f67cfe15364134868c3553b5f1eab06f7bd9c5b93fbf280a52b51',
  51. -- remotes is an array of ways on how to reach the VPN server
  52. -- Use public addresses here, these addresses are used when the mesh might not be connected yet.
  53. -- format: '[|ipv4|ipv6] "hostname-or-ip-address" port 10000'
  54. remotes = {
  55. '"gw01.ffho.net" port 100%ID',
  56. 'ipv6 "2001:830:c:9::12" port 100%ID',
  57. 'ipv4 "80.242.130.70" port 100%ID',
  58. },
  59. },
  60. gw02 = {
  61. key = 'e8fa9bf402fd33dd1ba804a97f2e46c704423ff49e9c55312845a7bfb93121ad',
  62. remotes = {
  63. '"gw02.ffho.net" port 100%ID',
  64. 'ipv6 "2a01:4f8:190:6500::18:1" port 100%ID',
  65. 'ipv4 "78.46.242.24" port 100%ID',
  66. },
  67. },
  68. gw03 = {
  69. key = '629b2742922f068ef49558283aea4b75c1427d8cdd3fcd2dbd7c00880547d3b3',
  70. remotes = {
  71. '"gw03.ffho.net" port 100%ID',
  72. 'ipv6 "2a00:13c8:1000:2::165" port 100%ID',
  73. 'ipv4 "185.46.137.165" port 100%ID',
  74. },
  75. },
  76. gw04 = {
  77. key = 'cf3855e5fa04e4c04a294cb6e8902f91c7ff7ef82bf031cc842a2b79b936677c',
  78. remotes = {
  79. '"gw04.ffho.net" port 100%ID',
  80. 'ipv6 "2a02:450:1::22" port 100%ID',
  81. 'ipv4 "80.70.181.63" port 100%ID',
  82. },
  83. },
  84. gw05 = {
  85. key = 'd0d32a2f536a0fc1f0c848e6da15bd96851d5ff4fdf9239c830bab033ddcec1a',
  86. remotes = {
  87. '"gw05.ffho.net" port 100%ID',
  88. 'ipv6 "2001:638:502:1884::ff15" port 100%ID',
  89. 'ipv4 "192.26.175.183" port 100%ID',
  90. },
  91. },
  92. gw06 = {
  93. key = '88b570c4cc811259b7c4106943098c9bee1126d692ddacedd23cd48efc28b0bf',
  94. remotes = {
  95. '"gw06.ffho.net" port 100%ID',
  96. },
  97. },
  98. },
  99. },
  100. },
  101. },
  102. },
  103. -- configure the autoupdater
  104. autoupdater = {
  105. -- available branches for the autoupdater
  106. branches = {
  107. stable = {
  108. mirrors = {'http://firmware.srv.in.ffho.net/ffho_%DC/stable/sysupgrade', 'http://[2a03:2260:2342:f251::6]/ffho_%DC/stable/sysupgrade'},
  109. },
  110. testing = {
  111. mirrors = {'http://firmware.srv.in.ffho.net/ffho_%DC/testing/sysupgrade', 'http://[2a03:2260:2342:f251::6]/ffho_%DC/testing/sysupgrade'},
  112. },
  113. experimental = {
  114. mirrors = {'http://firmware.srv.in.ffho.net/ffho_%DC/experimental/sysupgrade', 'http://[2a03:2260:2342:f251::6]/ffho_%DC/experimental/sysupgrade'},
  115. },
  116. },
  117. },
  118. }