domain.tmpl 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. -- name of this domain
  3. domain_names = {
  4. %CO = '%NA',
  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. -- mac address, must be unique in the client network
  38. -- (usually, you don't need to change this)
  39. mac = 'f2:ff:ff:%ID:ff:ff',
  40. },
  41. mesh_vpn = {
  42. -- fastd (vpn) settings
  43. fastd = {
  44. groups = {
  45. backbone = {
  46. -- list all available vpn servers
  47. peers = {
  48. gw01 = {
  49. key = '97bc56ae561f67cfe15364134868c3553b5f1eab06f7bd9c5b93fbf280a52b51',
  50. -- remotes is an array of ways on how to reach the VPN server
  51. -- Use public addresses here, these addresses are used when the mesh might not be connected yet.
  52. -- format: '[|ipv4|ipv6] "hostname-or-ip-address" port 10000'
  53. remotes = {
  54. '"gw01.ffho.net" port 100%ID',
  55. 'ipv6 "2001:830:c:9::12" port 100%ID',
  56. 'ipv4 "80.242.130.70" port 100%ID',
  57. },
  58. },
  59. gw02 = {
  60. key = 'e8fa9bf402fd33dd1ba804a97f2e46c704423ff49e9c55312845a7bfb93121ad',
  61. remotes = {
  62. '"gw02.ffho.net" port 100%ID',
  63. 'ipv6 "2a01:4f8:190:6500::18:1" port 100%ID',
  64. 'ipv4 "78.46.242.24" port 100%ID',
  65. },
  66. },
  67. gw03 = {
  68. key = '629b2742922f068ef49558283aea4b75c1427d8cdd3fcd2dbd7c00880547d3b3',
  69. remotes = {
  70. '"gw03.ffho.net" port 100%ID',
  71. 'ipv6 "2a00:13c8:1000:2::165" port 100%ID',
  72. 'ipv4 "185.46.137.165" port 100%ID',
  73. },
  74. },
  75. gw04 = {
  76. key = 'cf3855e5fa04e4c04a294cb6e8902f91c7ff7ef82bf031cc842a2b79b936677c',
  77. remotes = {
  78. '"gw04.ffho.net" port 100%ID',
  79. 'ipv6 "2a02:450:1::22" port 100%ID',
  80. 'ipv4 "80.70.181.63" port 100%ID',
  81. },
  82. },
  83. gw05 = {
  84. key = 'd0d32a2f536a0fc1f0c848e6da15bd96851d5ff4fdf9239c830bab033ddcec1a',
  85. remotes = {
  86. '"gw05.ffho.net" port 100%ID',
  87. 'ipv6 "2001:638:502:1884::ff15" port 100%ID',
  88. 'ipv4 "192.26.175.183" port 100%ID',
  89. },
  90. },
  91. gw06 = {
  92. key = '88b570c4cc811259b7c4106943098c9bee1126d692ddacedd23cd48efc28b0bf',
  93. remotes = {
  94. '"gw06.ffho.net" port 100%ID',
  95. },
  96. },
  97. },
  98. },
  99. },
  100. },
  101. },
  102. -- configure the autoupdater
  103. autoupdater = {
  104. -- available branches for the autoupdater
  105. branches = {
  106. stable = {
  107. mirrors = {'http://firmware.srv.in.ffho.net/%CO/stable/sysupgrade', 'http://[2a03:2260:2342:f251::6]/%CO/stable/sysupgrade'},
  108. },
  109. testing = {
  110. mirrors = {'http://firmware.srv.in.ffho.net/%CO/testing/sysupgrade', 'http://[2a03:2260:2342:f251::6]/%CO/testing/sysupgrade'},
  111. },
  112. experimental = {
  113. mirrors = {'http://firmware.srv.in.ffho.net/%CO/experimental/sysupgrade', 'http://[2a03:2260:2342:f251::6]/%CO/experimental/sysupgrade'},
  114. },
  115. },
  116. },
  117. }