ffho_wag.conf 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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 Hochstift - Warburg',
  8. -- short name of this community
  9. site_code = 'ffho_wag',
  10. -- v4 and v6 prefixes in which nodes+clients might get an IP
  11. prefix4 = '10.132.64.0/19',
  12. prefix6 = '2a03:2260:2006:23::/64',
  13. -- extra ipv6 prefixes used in this mesh area
  14. -- additional_prefix6 = { },
  15. -- timezone
  16. timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
  17. -- network-internal ntp service
  18. ntp_servers = {'ntp.in.ffho.net'},
  19. -- OpenWRT Package Repository (IPv6 capable)
  20. opkg_repo = 'http://bo.mirror.garr.it/pub/1/openwrt/barrier_breaker/14.07/%S/packages/',
  21. -- regulatory domain of your wifi
  22. regdom = 'DE',
  23. -- wifi settings (2.4 GHz and 5 GHz)
  24. -- the most important thing to change is the SSID
  25. -- of the client network (hochstift.freifunk.net/yourcity) and
  26. -- both(!) mesh_?ssid ad-hoc mesh network ids.
  27. wifi24 = {
  28. ssid = 'hochstift.freifunk.net/warburg',
  29. channel = 1,
  30. htmode = 'HT20',
  31. mesh_ssid = 'ffho-mesh-wag',
  32. mesh_bssid = '6e:6b:c3:b4:6b:5c',
  33. mesh_mcast_rate = 12000,
  34. },
  35. wifi5 = {
  36. ssid = 'hochstift.freifunk.net/warburg',
  37. channel = 44,
  38. htmode = 'HT40+',
  39. mesh_ssid = 'ffho-mesh-wag',
  40. mesh_bssid = '6e:6b:c3:b4:6b:5c',
  41. mesh_mcast_rate = 12000,
  42. },
  43. -- IP address of each router
  44. -- At this IP a client can always connect to its
  45. -- currently connected node. Both v4 and v6 addr.
  46. -- must lie in the above prefix4 and prefix6.
  47. next_node = {
  48. ip4 = '10.132.64.1',
  49. ip6 = '2a03:2260:2006:23::1',
  50. -- mac address, must be unique in the client network
  51. -- (usually, you don't need to change this)
  52. mac = '16:41:95:40:f7:dc',
  53. },
  54. -- fastd (vpn) settings
  55. fastd_mesh_vpn = {
  56. -- cipher(s) to use
  57. methods = {'salsa2012+gmac'},
  58. -- the maximum transfer unit
  59. -- use 1426 for IPv4 gateways
  60. mtu = 1406,
  61. groups = {
  62. backbone = {
  63. -- specifies how many servers are contacted
  64. -- by a client simultanously
  65. limit = 1,
  66. -- list all available vpn servers
  67. peers = {
  68. gw01 = {
  69. -- public fastd key of the vpn server
  70. key = 'd33d9a6905ac166e12f7b004dbe2215c63fe930a8528ac124a62dba48ca845b9',
  71. -- remotes is an array of ways on how to reach the VPN server
  72. -- Use public addresses here, these addresses are used when the mesh might not be connected yet.
  73. -- format: '[|ipv4|ipv6] "hostname-or-ip-address" port 10000'
  74. remotes = {
  75. 'ipv6 "gw01.wag.ffho.net" port 10000',
  76. 'ipv4 "gw01.wag.ffho.net" port 10000',
  77. -- 'ipv6 "ToDo" port 10000',
  78. -- 'ipv4 "ToDo" port 10000',
  79. },
  80. },
  81. gw02 = {
  82. key = 'cf38aebe045c5c19c4018daf473071b298a607b095b4283e2cbf2669cc829e49',
  83. remotes = {
  84. 'ipv6 "gw02.wag.ffho.net" port 10000',
  85. 'ipv4 "gw02.wag.ffho.net" port 10000',
  86. -- 'ipv6 "ToDo" port 10000',
  87. -- 'ipv4 "ToDo" port 10000',
  88. },
  89. },
  90. },
  91. },
  92. },
  93. },
  94. -- configure the autoupdater
  95. autoupdater = {
  96. enabled = 1,
  97. -- default branch for a firmware
  98. -- In config-mode, the user can select a different branch from below
  99. branch = 'stable',
  100. -- available branches for the autoupdater
  101. branches = {
  102. stable = {
  103. -- visible name of this branch (why not use the internal identifier here, too)
  104. name = 'stable',
  105. -- where to get the manifest file (without the trailing /manifest)
  106. -- It's wise to use an internal address here,
  107. -- but specifying a publicly available update site does not hurt.
  108. mirrors = {'http://[fdca:ffee:ff12:a254::80]/wag/stable', 'http://firmware.wag.ffho.net/stable'},
  109. -- Number of valid manifest signatures necessary to accept the manifest as "good".
  110. good_signatures = 3,
  111. -- list of public keys which are considered "good" for manifest signatures
  112. pubkeys = {
  113. '16b0e942929d6592d4a01b66b334427ba4db03b388a876432958d9010bd8d8b5', -- HeJ
  114. 'b0197042824a752c2dba717a4b2ded88852111bbe12e6b5f57fdfa3abb9312c0', -- thardes2
  115. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  116. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  117. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  118. },
  119. },
  120. testing = {
  121. name = 'testing',
  122. mirrors = {'http://[fdca:ffee:ff12:a254::80]/wag/testing','http://firmware.wag.ffho.net/testing'},
  123. good_signatures = 2,
  124. pubkeys = {
  125. '16b0e942929d6592d4a01b66b334427ba4db03b388a876432958d9010bd8d8b5', -- HeJ
  126. 'b0197042824a752c2dba717a4b2ded88852111bbe12e6b5f57fdfa3abb9312c0', -- thardes2
  127. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  128. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  129. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  130. },
  131. },
  132. experimental = {
  133. name = 'experimental',
  134. mirrors = {'http://[fdca:ffee:ff12:a254::80]/wag/experimental','http://firmware.wag.ffho.net/experimental'},
  135. good_signatures = 1,
  136. pubkeys = {
  137. '16b0e942929d6592d4a01b66b334427ba4db03b388a876432958d9010bd8d8b5', -- HeJ
  138. 'b0197042824a752c2dba717a4b2ded88852111bbe12e6b5f57fdfa3abb9312c0', -- thardes2
  139. 'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
  140. 'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
  141. 'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
  142. },
  143. },
  144. },
  145. },
  146. -- default traffic shaping (bandwidth limit) settings
  147. simple_tc = {
  148. mesh_vpn = {
  149. ifname = 'mesh-vpn',
  150. enabled = false,
  151. limit_egress = 200,
  152. limit_ingress = 3000,
  153. },
  154. },
  155. -- configure ffpb-debug
  156. debugserver = {
  157. host = { 'debugreport.ffho.net', 'fdca:ffee:ff12:a254::deb9' },
  158. port = 1337,
  159. liveport = 1338,
  160. },
  161. -- enable BATMAN on WAN interface by default (requires gluon-batman-on-wan package)
  162. batman_on_wan = 0,
  163. }