site.conf 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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 = 'default',
  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. -- OPKG package repositorys (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. mesh_vpn = {
  41. -- the maximum transfer unit
  42. mtu = 1406,
  43. -- fastd (vpn) settings
  44. fastd = {
  45. -- cipher(s) to use
  46. methods = {'salsa2012+umac'},
  47. groups = {
  48. backbone = {
  49. -- specifies how many servers are contacted
  50. -- by a client simultanously
  51. limit = 1,
  52. },
  53. },
  54. },
  55. -- default traffic shaping (bandwidth limit) settings
  56. bandwidth_limit = {
  57. enabled = false,
  58. egress = 500,
  59. ingress = 4000,
  60. },
  61. },
  62. -- configure the autoupdater
  63. autoupdater = {
  64. -- default branch for a firmware without enabled autoupdater
  65. branch = 'stable',
  66. -- available branches for the autoupdater
  67. branches = {
  68. stable = {
  69. -- visible name of this branch (why not use the internal identifier here, too)
  70. name = 'stable',
  71. -- Number of valid manifest signatures necessary to accept the manifest as "good".
  72. good_signatures = 3,
  73. -- list of public keys which are considered "good" for manifest signatures
  74. pubkeys = {
  75. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  76. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  77. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  78. '9841dde0b9f6485d5fcdc858fb15c1db1c3bc77fb81aef3f0d4b835f76a3d73b', -- kb-light
  79. '39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
  80. },
  81. },
  82. testing = {
  83. name = 'testing',
  84. good_signatures = 2,
  85. pubkeys = {
  86. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  87. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  88. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  89. '9841dde0b9f6485d5fcdc858fb15c1db1c3bc77fb81aef3f0d4b835f76a3d73b', -- kb-light
  90. '39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
  91. },
  92. },
  93. experimental = {
  94. name = 'experimental',
  95. good_signatures = 1,
  96. pubkeys = {
  97. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  98. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  99. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  100. '9841dde0b9f6485d5fcdc858fb15c1db1c3bc77fb81aef3f0d4b835f76a3d73b', -- kb-light
  101. '39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
  102. },
  103. },
  104. },
  105. },
  106. config_mode = {
  107. -- Show/hide the altitude field
  108. geo_location = {
  109. show_altitude = false,
  110. },
  111. -- define if the contact field is obligatory (optional)
  112. owner = {
  113. obligatory = false,
  114. },
  115. },
  116. -- configure DNS caching
  117. dns = {
  118. cacheentries = 1000,
  119. servers = { '2a03:2260:2342:f251::53' },
  120. },
  121. domain_migration = {
  122. match = '^ffho_(.*)$',
  123. },
  124. }