site.conf 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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 community
  7. site_name = 'Freifunk Paderborn',
  8. -- short name of this community
  9. site_code = 'ffpb',
  10. -- v4 and v6 prefixes in which nodes+clients might get an IP
  11. prefix4 = '10.132.0.0/16',
  12. prefix6 = 'fdca:ffee:ff12:132::/64',
  13. -- timezone
  14. timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
  15. -- network-internal ntp service
  16. ntp_servers = {'ntp.services.ffpb'},
  17. -- regulatory domain of your wifi
  18. regdom = 'DE',
  19. -- wifi settings (2.4 GHz and 5 GHz)
  20. -- the most important thing to change is the SSID
  21. -- of the client network (yourcity.freifunk.net) and
  22. -- both(!) mesh_?ssid ad-hoc mesh network ids.
  23. wifi24 = {
  24. ssid = 'paderborn.freifunk.net',
  25. channel = 1,
  26. htmode = 'HT40+',
  27. mesh_ssid = '02:d1:11:13:87:ad',
  28. mesh_bssid = '02:d1:11:13:87:ad',
  29. mesh_mcast_rate = 12000,
  30. },
  31. wifi5 = {
  32. ssid = 'paderborn.freifunk.net (5GHz)',
  33. channel = 44,
  34. htmode = 'HT40+',
  35. mesh_ssid = '02:d1:11:13:87:ad',
  36. mesh_bssid = '02:d1:11:13:87:ad',
  37. mesh_mcast_rate = 12000,
  38. },
  39. -- IP address of each router
  40. -- At this IP a client can always connect to its
  41. -- currently connected node. Both v4 and v6 addr.
  42. -- must lie in the above prefix4 and prefix6.
  43. next_node = {
  44. ip4 = '10.132.0.1',
  45. ip6 = 'fdca:ffee:ff12:132::1',
  46. -- mac address, must be unique in the client network
  47. -- (usually, you don't need to change this)
  48. mac = '16:41:95:40:f7:dc',
  49. },
  50. -- fastd (vpn) settings
  51. fastd_mesh_vpn = {
  52. -- cipher(s) to use
  53. methods = {'salsa2012+gmac'},
  54. -- the maximum transfer unit
  55. -- use 1426 for IPv4 gateways
  56. mtu = 1406,
  57. backbone = {
  58. -- specifies how many servers are contacted
  59. -- by a client simultanously
  60. limit = 2,
  61. -- list all available vpn servers
  62. peers = {
  63. gw01 = {
  64. -- public fastd key of the vpn server
  65. key = '97bc56ae561f67cfe15364134868c3553b5f1eab06f7bd9c5b93fbf280a52b51',
  66. -- remotes is an array of ways on how to reach the VPN server
  67. -- Use public addresses here, these addresses are used when the mesh might not be connected yet.
  68. -- format: '[|ipv4|ipv6] "hostname-or-ip-address" port 10000'
  69. remotes = {'ipv6 "v6.gw01.paderborn.freifunk.net" port 10000', 'ipv4 "v4.gw01.paderborn.freifunk.net" port 10000'},
  70. },
  71. gw02 = {
  72. key = 'e8fa9bf402fd33dd1ba804a97f2e46c704423ff49e9c55312845a7bfb93121ad',
  73. remotes = {'ipv6 "v6.gw02.paderborn.freifunk.net" port 10000', 'ipv4 "v4.gw02.paderborn.freifunk.net" port 10000'},
  74. },
  75. gw03 = {
  76. key = 'cf7b54f7221a26251a5970e1d404f864ff4bfed3254bd741cf754445e040b9d0',
  77. remotes = {'ipv6 "v6.gw03.paderborn.freifunk.net" port 10000', 'ipv4 "v4.gw03.paderborn.freifunk.net" port 10000'},
  78. },
  79. gw04 = {
  80. key = 'cf3855e5fa04e4c04a294cb6e8902f91c7ff7ef82bf031cc842a2b79b936677c',
  81. remotes = {'ipv6 "v6.gw04.paderborn.freifunk.net" port 10000', 'ipv4 "v4.gw04.paderborn.freifunk.net" port 10000'},
  82. },
  83. gw06 = {
  84. key = 'b912bcf1c1335390364b8030448e53d8869b650f32923e59bf01d763d3028840',
  85. remotes = {'ipv6 "v6.gw06.paderborn.freifunk.net" port 10000', 'ipv4 "v4.gw06.paderborn.freifunk.net" port 10000'},
  86. },
  87. },
  88. },
  89. },
  90. -- configure the autoupdater
  91. autoupdater = {
  92. enabled = 1,
  93. -- default branch for a firmware
  94. -- In config-mode, the user can select a different branch from below
  95. branch = 'stable',
  96. -- available branches for the autoupdater
  97. branches = {
  98. stable = {
  99. -- visible name of this branch (why not use the internal identifier here, too)
  100. name = 'stable',
  101. -- where to get the manifest file (without the trailing /manifest)
  102. -- It's wise to use an internal address here,
  103. -- but specifying a publicly available update site does not hurt.
  104. mirrors = {'http://[fdca:ffee:ff12:a254::80]/stable', 'http://firmware.paderborn.freifunk.net/stable'},
  105. -- Number of valid manifest signatures necessary to accept the manifest as "good".
  106. good_signatures = 2,
  107. -- list of public keys which are considered "good" for manifest signatures
  108. pubkeys = {
  109. '16b0e942929d6592d4a01b66b334427ba4db03b388a876432958d9010bd8d8b5', -- HeJ
  110. 'b0197042824a752c2dba717a4b2ded88852111bbe12e6b5f57fdfa3abb9312c0', -- thardes2
  111. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  112. 'a4da8601d27c73a22094a98b02501367c451f364aaabfcf5c597784bf272429c', -- THiSCO
  113. },
  114. },
  115. testing = {
  116. name = 'testing',
  117. mirrors = {'http://[fdca:ffee:ff12:a254::80]/testing','http://firmware.paderborn.freifunk.net/testing'},
  118. good_signatures = 1,
  119. pubkeys = {
  120. '16b0e942929d6592d4a01b66b334427ba4db03b388a876432958d9010bd8d8b5', -- HeJ
  121. 'b0197042824a752c2dba717a4b2ded88852111bbe12e6b5f57fdfa3abb9312c0', -- thardes2
  122. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  123. 'a4da8601d27c73a22094a98b02501367c451f364aaabfcf5c597784bf272429c', -- THiSCO
  124. },
  125. },
  126. },
  127. },
  128. -- default traffic shaping (bandwidth limit) settings
  129. simple_tc = {
  130. mesh_vpn = {
  131. ifname = 'mesh-vpn',
  132. enabled = false,
  133. limit_egress = 200,
  134. limit_ingress = 3000,
  135. },
  136. },
  137. -- configure ffpb-debug
  138. debugserver = {
  139. host = { 'debugreport.paderborn.freifunk.net', 'fdca:ffee:ff12:a254::deb9' },
  140. port = 1337,
  141. liveport = 1338,
  142. },
  143. -- enable BATMAN on WAN interface by default (requires gluon-batman-on-wan package)
  144. batman_on_wan = 0,
  145. -- custom messages in config mode
  146. config_mode = {
  147. msg_welcome = [[
  148. Willkommen zum Einrichtungsassistenten für deinen neuen Paderborner
  149. Freifunk-Knoten. Fülle das folgende Formular deinen Vorstellungen
  150. entsprechend aus und sende es ab.
  151. ]],
  152. msg_pubkey = [[
  153. Dies ist der öffentliche Schlüssel deines Freifunkknotens. Erst nachdem
  154. er auf den Servern des Paderborner Freifunk-Projektes eingetragen wurde,
  155. kann sich dein Knoten mit dem Paderborner Mesh-VPN zu verbinden. Bitte
  156. schicke uns dazu diesen Schlüssel und den Namen deines Knotens
  157. an maschinenraum@paderborn.freifunk.net oder benutze am besten gleich das
  158. <a href="http://paderborn.freifunk.net/?page_id=366&key=<%=pubkey%>&nname=<%=hostname%>&mac=<%=sysconfig.primary_mac%>">
  159. vorausgefüllte Formular auf unserer Webseite</a>.<br><br>
  160. ]],
  161. msg_reboot = [[
  162. <p>
  163. Dein Knoten startet gerade neu und wird anschließend versuchen,
  164. sich anschließend mit anderen Freifunkknoten in seiner Nähe zu
  165. verbinden. Weitere Informationen zur
  166. Paderborner Freifunk-Community findest du auf
  167. <a href="http://paderborn.freifunk.net/">unserer Webseite</a>.
  168. </p>
  169. <p>
  170. Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!
  171. </p>
  172. <p>
  173. Abschließend möchten wir dir noch die Nutzungsbedingungen ans
  174. Herz legen. Bitte beachte sie.
  175. </p>
  176. <h1>Nutzungsbedingunen</h1>
  177. Freifunk ist komplett von seinen Benutzern geschaffen worden, es gibt keine
  178. mächtige Instanz, die über das Netz herrscht. Jeder Anwender ist zum gleichen
  179. Teil an dem Projekt beteiligt. Die Beteiligten betreiben das Netzwerk auf
  180. eigene Kosten und dies ist nur möglich, wenn sich alle an ein paar Regeln
  181. halten:<br><br>
  182. <b>Sei Fair!</b><br>
  183. Das Netzwerk darf nicht in einer Weise beansprucht werden die das Netzwerk
  184. selbst, dessen Betreibende oder andere Teilnehmende beeinträchtigt.<br><br>
  185. <b>Achte auf deine Sicherheit!</b><br>
  186. Das Netzwerk ist, wie das Internet, unverschlüsselt und offen. Jede
  187. teilnehmende Person ist selbst für die Sicherheit ihrer Verbindungen und
  188. ihrer Endgeräte verantwortlich.<br><br>
  189. <b>Keine rechtswidrige Nutzung!</b><br>
  190. Das Netzwerk darf nicht für Handlungen missbraucht werden, welche gesetzliche
  191. Bestimmungen oder die Rechte Dritter verletzen. Es dürfen keine Inhalte
  192. übertragen werden, welche gegen geltendes Recht verstoßen.
  193. ]],
  194. },
  195. }