site.conf 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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 = 'default',
  12. -- v4 and v6 prefixes in which nodes+clients might get an IP
  13. prefix4 = '10.132.0.0/18',
  14. prefix6 = 'fdca:ffee:ff12:132::/64',
  15. -- extra ipv6 prefixes used in this mesh area
  16. additional_prefix6 = { '2001:470:6d:860::/64', },
  17. -- timezone
  18. timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
  19. -- network-internal ntp service
  20. ntp_servers = {'ntp.in.ffho.net'},
  21. -- OpenWRT Package Repository (IPv6 capable)
  22. opkg = {
  23. openwrt = 'http://bo.mirror.garr.it/pub/1/openwrt/barrier_breaker/14.07/%S/packages/',
  24. }
  25. -- regulatory domain of your wifi
  26. regdom = 'DE',
  27. -- wifi settings (2.4 GHz and 5 GHz)
  28. -- ssid = 'hochstift.freifunk.net/${kürzel}',
  29. -- mesh_ssid = 'ffho-mesh-${un-code}',
  30. -- mesh_bssid = '${idividual-mac}'
  31. wifi24 = {
  32. channel = 1,
  33. htmode = 'HT20',
  34. ap = {
  35. ssid = 'paderborn.freifunk.net',
  36. },
  37. ibss = {
  38. mesh_ssid = '02:d1:11:13:87:ad',
  39. mesh_bssid = '02:d1:11:13:87:ad',
  40. mesh_mcast_rate = 12000,
  41. },
  42. },
  43. wifi5 = {
  44. channel = 44,
  45. htmode = 'HT40+',
  46. ap = {
  47. ssid = 'paderborn.freifunk.net',
  48. },
  49. ibss = {
  50. mesh_ssid = '02:d1:11:13:87:ad',
  51. mesh_bssid = '02:d1:11:13:87:ad',
  52. mesh_mcast_rate = 12000,
  53. },
  54. },
  55. -- IP address of each router
  56. -- At this IP a client can always connect to its
  57. -- currently connected node. Both v4 and v6 addr.
  58. -- must lie in the above prefix4 and prefix6.
  59. next_node = {
  60. ip4 = '10.132.0.1',
  61. ip6 = 'fdca:ffee:ff12:132::1',
  62. -- mac address, must be unique in the client network
  63. -- (usually, you don't need to change this)
  64. mac = '16:41:95:40:f7:dc',
  65. },
  66. -- fastd (vpn) settings
  67. fastd_mesh_vpn = {
  68. -- cipher(s) to use
  69. methods = {'salsa2012+gmac'},
  70. -- the maximum transfer unit
  71. -- use 1426 for IPv4 gateways
  72. mtu = 1406,
  73. groups = {
  74. backbone = {
  75. -- specifies how many servers are contacted
  76. -- by a client simultanously
  77. limit = 1,
  78. -- list all available vpn servers
  79. peers = {
  80. gw01 = {
  81. -- public fastd key of the vpn server
  82. key = '97bc56ae561f67cfe15364134868c3553b5f1eab06f7bd9c5b93fbf280a52b51',
  83. -- remotes is an array of ways on how to reach the VPN server
  84. -- Use public addresses here, these addresses are used when the mesh might not be connected yet.
  85. -- format: '[|ipv4|ipv6] "hostname-or-ip-address" port 10000'
  86. remotes = {
  87. 'ipv6 "v6.gw01.paderborn.freifunk.net" port 10000',
  88. 'ipv4 "v4.gw01.paderborn.freifunk.net" port 10000',
  89. 'ipv6 "2a01:4f8:190:2105::ff12" port 10000',
  90. 'ipv4 "85.10.248.243" port 10000',
  91. },
  92. },
  93. gw02 = {
  94. key = 'e8fa9bf402fd33dd1ba804a97f2e46c704423ff49e9c55312845a7bfb93121ad',
  95. remotes = {
  96. 'ipv6 "v6.gw02.paderborn.freifunk.net" port 10000',
  97. 'ipv4 "v4.gw02.paderborn.freifunk.net" port 10000',
  98. 'ipv6 "2a01:4f8:190:6500::18:1" port 10000',
  99. 'ipv4 "78.46.242.24" port 10000',
  100. },
  101. },
  102. gw03 = {
  103. key = 'cf7b54f7221a26251a5970e1d404f864ff4bfed3254bd741cf754445e040b9d0',
  104. remotes = {
  105. 'ipv6 "v6.gw03.paderborn.freifunk.net" port 10000',
  106. 'ipv4 "v4.gw03.paderborn.freifunk.net" port 10000',
  107. 'ipv6 "2a01:a700:4621:d100::10" port 10000',
  108. 'ipv4 "31.172.8.123" port 10000',
  109. },
  110. },
  111. gw04 = {
  112. key = 'cf3855e5fa04e4c04a294cb6e8902f91c7ff7ef82bf031cc842a2b79b936677c',
  113. remotes = {
  114. 'ipv6 "v6.gw04.paderborn.freifunk.net" port 10000',
  115. 'ipv4 "v4.gw04.paderborn.freifunk.net" port 10000',
  116. 'ipv6 "2a02:450:1:4::10" port 10000',
  117. 'ipv4 "80.70.181.57" port 10000',
  118. },
  119. },
  120. gw05 = {
  121. key = 'd0d32a2f536a0fc1f0c848e6da15bd96851d5ff4fdf9239c830bab033ddcec1a',
  122. remotes = {
  123. 'ipv6 "v6.gw05.paderborn.freifunk.net" port 10000',
  124. 'ipv4 "v4.gw05.paderborn.freifunk.net" port 10000',
  125. 'ipv6 "2001:638:502:1884::ff05" port 10000',
  126. 'ipv4 "192.26.175.182" port 10000',
  127. },
  128. },
  129. gw06 = {
  130. key = 'b912bcf1c1335390364b8030448e53d8869b650f32923e59bf01d763d3028840',
  131. remotes = {
  132. 'ipv6 "v6.gw06.paderborn.freifunk.net" port 10000',
  133. 'ipv4 "v4.gw06.paderborn.freifunk.net" port 10000',
  134. 'ipv6 "2a03:4000:6:20f0::ff12" port 10000',
  135. 'ipv4 "5.45.111.222" port 10000',
  136. },
  137. },
  138. gw08 = {
  139. key = '3da050bbf1c3e95af286af65553f546fd563d9cb5d4b3b3444069bef281de621',
  140. remotes = {
  141. 'ipv6 "v6.gw08.paderborn.freifunk.net" port 10000',
  142. 'ipv4 "v4.gw08.paderborn.freifunk.net" port 10000',
  143. 'ipv6 "2a03:4000:6:1151::ff12" port 10000',
  144. 'ipv4 "5.45.107.59" port 10000',
  145. },
  146. },
  147. },
  148. },
  149. },
  150. -- default traffic shaping (bandwidth limit) settings
  151. bandwidth_limit = {
  152. enabled = false,
  153. limit_egress = 200,
  154. limit_ingress = 3000,
  155. },
  156. },
  157. -- configure the autoupdater
  158. autoupdater = {
  159. enabled = 1,
  160. -- default branch for a firmware
  161. -- In config-mode, the user can select a different branch from below
  162. branch = 'stable',
  163. -- available branches for the autoupdater
  164. branches = {
  165. stable = {
  166. -- visible name of this branch (why not use the internal identifier here, too)
  167. name = 'stable',
  168. -- where to get the manifest file (without the trailing /manifest)
  169. -- It's wise to use an internal address here,
  170. -- but specifying a publicly available update site does not hurt.
  171. mirrors = {'http://[fdca:ffee:ff12:a254::80]/stable', 'http://firmware.paderborn.freifunk.net/stable'},
  172. -- Number of valid manifest signatures necessary to accept the manifest as "good".
  173. good_signatures = 3,
  174. -- list of public keys which are considered "good" for manifest signatures
  175. pubkeys = {
  176. '16b0e942929d6592d4a01b66b334427ba4db03b388a876432958d9010bd8d8b5', -- HeJ
  177. 'b0197042824a752c2dba717a4b2ded88852111bbe12e6b5f57fdfa3abb9312c0', -- thardes2
  178. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  179. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  180. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  181. },
  182. },
  183. testing = {
  184. name = 'testing',
  185. mirrors = {'http://[fdca:ffee:ff12:a254::80]/testing','http://firmware.paderborn.freifunk.net/testing'},
  186. good_signatures = 2,
  187. pubkeys = {
  188. '16b0e942929d6592d4a01b66b334427ba4db03b388a876432958d9010bd8d8b5', -- HeJ
  189. 'b0197042824a752c2dba717a4b2ded88852111bbe12e6b5f57fdfa3abb9312c0', -- thardes2
  190. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  191. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  192. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  193. },
  194. },
  195. experimental = {
  196. name = 'experimental',
  197. mirrors = {'http://[fdca:ffee:ff12:a254::80]/experimental','http://firmware.paderborn.freifunk.net/experimental'},
  198. good_signatures = 1,
  199. pubkeys = {
  200. '16b0e942929d6592d4a01b66b334427ba4db03b388a876432958d9010bd8d8b5', -- HeJ
  201. 'b0197042824a752c2dba717a4b2ded88852111bbe12e6b5f57fdfa3abb9312c0', -- thardes2
  202. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  203. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  204. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  205. },
  206. },
  207. },
  208. },
  209. -- configure ffho-debug
  210. debugserver = {
  211. host = { 'debugreport.ffho.net', 'fdca:ffee:ff12:a254::deb9' },
  212. port = 1337,
  213. liveport = 1338,
  214. },
  215. -- enable BATMAN on WAN interface by default (requires gluon-batman-on-wan package)
  216. batman_on_wan = 0,
  217. }