domain.tmpl 2.8 KB

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