site.conf 7.6 KB

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