site.conf 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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 - ${site}',
  8. site_name = 'Bitte wählen',
  9. -- short name of this site
  10. -- site_code = 'ffho_${un-code}'
  11. site_code = 'ffho',
  12. default_domain = 'ffho',
  13. -- timezone
  14. timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
  15. -- network-internal ntp service
  16. ntp_servers = {'ntp.srv.in.ffho.net'},
  17. -- regulatory domain of your wifi
  18. regdom = 'DE',
  19. -- wifi settings (2.4 GHz and 5 GHz)
  20. -- ap.ssid = 'hochstift.freifunk.net/${kürzel}',
  21. -- mesh.id = 'ffho-mesh-${group-name}',
  22. wifi24 = {
  23. mesh = {
  24. mcast_rate = 12000,
  25. },
  26. },
  27. wifi5 = {
  28. mesh = {
  29. mcast_rate = 12000,
  30. },
  31. },
  32. mesh_vpn = {
  33. -- the maximum transfer unit
  34. mtu = 1406,
  35. -- fastd (vpn) settings
  36. fastd = {
  37. -- cipher(s) to use
  38. methods = {'salsa2012+umac'},
  39. },
  40. -- default traffic shaping (bandwidth limit) settings
  41. bandwidth_limit = {
  42. enabled = false,
  43. egress = 500,
  44. ingress = 4000,
  45. },
  46. },
  47. -- configure the autoupdater
  48. autoupdater = {
  49. -- default branch for a firmware without enabled autoupdater
  50. branch = 'stable',
  51. -- available branches for the autoupdater
  52. branches = {
  53. stable = {
  54. -- visible name of this branch (why not use the internal identifier here, too)
  55. name = 'stable',
  56. -- where to get the manifest file (without the trailing /manifest)
  57. -- It's wise to use an internal address here,
  58. -- but specifying a publicly available update site does not hurt.
  59. mirrors = {'http://firmware.srv.in.ffho.net/stable/sysupgrade', 'http://[2a03:2260:2342:f251::6]/stable/sysupgrade', 'http://firmware.ffho.net/stable/sysupgrade'},
  60. -- Number of valid manifest signatures necessary to accept the manifest as "good".
  61. good_signatures = 3,
  62. -- list of public keys which are considered "good" for manifest signatures
  63. pubkeys = {
  64. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  65. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  66. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  67. '39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
  68. },
  69. },
  70. testing = {
  71. name = 'testing',
  72. mirrors = {'http://firmware.srv.in.ffho.net/testing/sysupgrade', 'http://[2a03:2260:2342:f251::6]/testing/sysupgrade', 'http://firmware.ffho.net/testing/sysupgrade'},
  73. good_signatures = 2,
  74. pubkeys = {
  75. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  76. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  77. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  78. '39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
  79. },
  80. },
  81. experimental = {
  82. name = 'experimental',
  83. mirrors = {'http://firmware.srv.in.ffho.net/experimental/sysupgrade', 'http://[2a03:2260:2342:f251::6]/experimental/sysupgrade', 'http://firmware.ffho.net/experimental/sysupgrade'},
  84. good_signatures = 1,
  85. pubkeys = {
  86. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  87. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  88. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  89. '39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
  90. },
  91. },
  92. },
  93. },
  94. config_mode = {
  95. -- Show/hide the altitude field
  96. geo_location = {
  97. show_altitude = false,
  98. osm = {
  99. center = {
  100. lat = 51.695543946,
  101. lon = 8.958663940,
  102. },
  103. zoom = 11,
  104. },
  105. },
  106. -- define if the contact field is obligatory (optional)
  107. owner = {
  108. obligatory = false,
  109. },
  110. },
  111. -- configure DNS forwarding
  112. dns = {
  113. servers = { '2a03:2260:2342:f251::53' },
  114. },
  115. }