site.conf 3.8 KB

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