1
0

site.conf 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. {
  2. -- A new node's name will be autogenerated from
  3. -- it's primary MAC address and this prefix.
  4. -- e.g. freifunk-0123456789ab
  5. hostname_prefix = 'freifunk',
  6. -- name of this site
  7. site_name = 'Freifunk Hochstift',
  8. -- short name of this site
  9. site_code = 'ffho',
  10. -- short name of default domain
  11. default_domain_code = 'ffho',
  12. -- timezone
  13. timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
  14. -- network-internal ntp service
  15. ntp_servers = {'ntp.srv.in.ffho.net'},
  16. -- OpenWRT Package Repository (IPv6 capable)
  17. opkg = {
  18. lede = 'http://firmware.srv.in.ffho.net/lede/packages-%v/%A',
  19. extra = {
  20. gluon = 'http://firmware.srv.in.ffho.net/%GR/modules/%S',
  21. },
  22. },
  23. -- regulatory domain of your wifi
  24. regdom = 'DE',
  25. -- wifi settings (2.4 GHz and 5 GHz)
  26. wifi24 = {
  27. channel = 1,
  28. supported_rates = {6000, 9000, 12000, 18000, 24000, 36000, 48000, 54000},
  29. basic_rate = {6000, 9000, 18000, 36000, 54000},
  30. mesh = {
  31. mcast_rate = 12000,
  32. },
  33. },
  34. wifi5 = {
  35. channel = 44,
  36. mesh = {
  37. mcast_rate = 12000,
  38. },
  39. },
  40. next_node = {
  41. name = 'node.ffho.net',
  42. },
  43. mesh_vpn = {
  44. -- the maximum transfer unit
  45. mtu = 1406,
  46. -- fastd (vpn) settings
  47. fastd = {
  48. -- cipher(s) to use
  49. methods = {'salsa2012+umac'},
  50. groups = {
  51. backbone = {
  52. -- specifies how many servers are contacted
  53. -- by a client simultanously
  54. limit = 1,
  55. -- list all available vpn servers
  56. peers = {
  57. gw01 = {
  58. key = '97bc56ae561f67cfe15364134868c3553b5f1eab06f7bd9c5b93fbf280a52b51',
  59. },
  60. gw02 = {
  61. key = 'e8fa9bf402fd33dd1ba804a97f2e46c704423ff49e9c55312845a7bfb93121ad',
  62. },
  63. gw03 = {
  64. key = '629b2742922f068ef49558283aea4b75c1427d8cdd3fcd2dbd7c00880547d3b3',
  65. },
  66. gw04 = {
  67. key = 'cf3855e5fa04e4c04a294cb6e8902f91c7ff7ef82bf031cc842a2b79b936677c',
  68. },
  69. gw05 = {
  70. key = 'd0d32a2f536a0fc1f0c848e6da15bd96851d5ff4fdf9239c830bab033ddcec1a',
  71. },
  72. gw06 = {
  73. key = '88b570c4cc811259b7c4106943098c9bee1126d692ddacedd23cd48efc28b0bf',
  74. },
  75. },
  76. },
  77. },
  78. },
  79. -- default traffic shaping (bandwidth limit) settings
  80. bandwidth_limit = {
  81. enabled = false,
  82. egress = 500,
  83. ingress = 4000,
  84. },
  85. },
  86. -- configure the autoupdater
  87. autoupdater = {
  88. -- default branch for a firmware without enabled autoupdater
  89. branch = 'stable',
  90. -- available branches for the autoupdater
  91. branches = {
  92. stable = {
  93. -- visible name of this branch (why not use the internal identifier here, too)
  94. name = 'stable',
  95. -- Number of valid manifest signatures necessary to accept the manifest as "good".
  96. good_signatures = 3,
  97. -- list of public keys which are considered "good" for manifest signatures
  98. pubkeys = {
  99. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  100. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  101. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  102. '9841dde0b9f6485d5fcdc858fb15c1db1c3bc77fb81aef3f0d4b835f76a3d73b', -- kb-light
  103. '39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
  104. },
  105. },
  106. testing = {
  107. name = 'testing',
  108. good_signatures = 2,
  109. pubkeys = {
  110. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  111. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  112. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  113. '9841dde0b9f6485d5fcdc858fb15c1db1c3bc77fb81aef3f0d4b835f76a3d73b', -- kb-light
  114. '39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
  115. },
  116. },
  117. experimental = {
  118. name = 'experimental',
  119. good_signatures = 1,
  120. pubkeys = {
  121. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  122. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  123. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  124. '9841dde0b9f6485d5fcdc858fb15c1db1c3bc77fb81aef3f0d4b835f76a3d73b', -- kb-light
  125. '39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
  126. },
  127. },
  128. },
  129. },
  130. config_mode = {
  131. -- Show/hide the altitude field
  132. geo_location = {
  133. show_altitude = false,
  134. },
  135. -- define if the contact field is obligatory (optional)
  136. owner = {
  137. obligatory = false,
  138. },
  139. },
  140. -- configure DNS caching
  141. dns = {
  142. cacheentries = 1000,
  143. servers = { '2a03:2260:2342:f251::53' },
  144. },
  145. }