site.conf 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. {
  2. -- 32 byte random data in hexadecimal encoding
  3. -- This data must be unique among all sites and domains!
  4. -- Can be generated using: echo $(hexdump -v -n 32 -e '1/1 "%02x"' </dev/urandom)
  5. domain_seed = 'ba9b178cf40ecc6f1a0a53339c10c4bd056957d24643270389fe0298d713354d',
  6. hostname_prefix = 'FF-DO-',
  7. site_name = 'Freifunk Dortmund',
  8. site_code = 'ffdo',
  9. site_seed = 'c1b2f463dd1e2c032ba07b82b72eea3a07fb8aca7a7e0b82859481ac2f4c231a',
  10. prefix4 = '10.233.0.0/16',
  11. prefix6 = '2a03:2260:300a:1000::/64',
  12. timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
  13. ntp_servers = {'ntp.services.ffdo.de'},
  14. regdom = 'DE',
  15. opkg = {
  16. extra = {
  17. gluon = 'http://update.services.ffdo.de/%GS/releases/%GR/modules/%S',
  18. },
  19. },
  20. wifi24 = {
  21. channel = 1,
  22. -- remove 802.11b compatibility
  23. supported_rates = {6000, 9000, 12000, 18000, 24000, 36000, 48000, 54000},
  24. basic_rate = {6000, 9000, 18000, 36000, 54000},
  25. ap = {
  26. ssid = 'Freifunk',
  27. },
  28. ibss = {
  29. ssid = 'ffdo-ibss-batadv',
  30. bssid = '02:ff:d0:09:ff:10',
  31. mcast_rate = 12000,
  32. },
  33. },
  34. wifi5 = {
  35. channel = 44,
  36. ap = {
  37. ssid = 'Freifunk (5GHz)',
  38. },
  39. ibss = {
  40. ssid = 'ffdo-ibss-batadv5',
  41. bssid = '02:ff:d0:09:ff:20',
  42. mcast_rate = 12000,
  43. },
  44. },
  45. next_node = {
  46. ip4 = '10.233.254.254',
  47. ip6 = '2a03:2260:300a:1000::ffd0',
  48. mac = '02:ff:d0:09:ff:02',
  49. },
  50. mesh = {
  51. vxlan = false,
  52. },
  53. mesh_vpn = {
  54. -- enabled = true,
  55. mtu = 1280,
  56. fastd = {
  57. -- Refer to http://fastd.readthedocs.org/en/latest/ to better understand
  58. -- what these options do.
  59. -- List of crypto-methods to use.
  60. methods = {'salsa2012+umac'},
  61. groups = {
  62. ffdo = {
  63. limit = 1,
  64. peers = {
  65. do01100 = {
  66. key = '4e3871281764a80fddff41152a24f198d8646f62bd240db8659495bd7f6ef0da',
  67. remotes = {'"sn-dtm01.ffdo.de" port 10000'},
  68. },
  69. do01200 = {
  70. key = 'dbf766f9f268ed1b301f4bf77a9665faa696fd9a15b9447247ce12fab6fb6718',
  71. remotes = {'"sn-dtm02.ffdo.de" port 10000'},
  72. },
  73. do02100 = {
  74. key = 'f92dc908adcb99bf55c8de10ee7717e69eacac12bcef559aebc14ea2ec109337',
  75. remotes = {'"sn-ber01.ffdo.de" port 10000'},
  76. },
  77. do02200 = {
  78. key = 'e6029a94aa2ac28014ea208b30398092c33836f05897e5aa5fa1d8525e35a136',
  79. remotes = {'"sn-ber02.ffdo.de" port 10000'},
  80. },
  81. },
  82. },
  83. do01 = {
  84. limit = 0,
  85. peers = {},
  86. },
  87. do02 = {
  88. limit = 0,
  89. peers = {},
  90. },
  91. backbone = {
  92. limit = 0,
  93. peers = {},
  94. },
  95. },
  96. },
  97. bandwidth_limit = {
  98. enabled = false,
  99. egress = 4000,
  100. ingress = 30000,
  101. },
  102. },
  103. autoupdater = {
  104. branch = 'stable',
  105. branches = {
  106. stable = {
  107. name = 'stable',
  108. mirrors = {'http://update.services.ffdo.de/ffdo/stable/images/sysupgrade'},
  109. probability = 0.08,
  110. good_signatures = 2,
  111. pubkeys = {
  112. '4b74a95381fdb8d4db0f69effde000befe8e58a14996a8f732213cc40627b7fe', -- Markus
  113. '64825ce2492cf99c51abcba32bd08bd8f880da58e606b3957159c78725d739ca', -- Till
  114. '497223af7ce512a31d7c282765951063d781f46f6e6a890faa3bf2e03fe2e19c', -- Torben
  115. '6274bc371973f6cedd6c63523388fda3a938df26a1cfbe91378c8c0a1bf6efca', -- Tim
  116. '9ff0fe17bac59f48db2bce0bd78016b6081324140da6d483e53ad7008d728290', -- Stefan
  117. '59beffa6ce536e119c91a0ea83a20747b8f753311113c7e97f82444661ca21ba', -- Cajus
  118. },
  119. },
  120. beta = {
  121. name = 'beta',
  122. mirrors = {'http://update.services.ffdo.de/ffdo/beta/images/sysupgrade'},
  123. probability = 0.08,
  124. good_signatures = 2,
  125. pubkeys = {
  126. '4b74a95381fdb8d4db0f69effde000befe8e58a14996a8f732213cc40627b7fe', -- Markus
  127. '64825ce2492cf99c51abcba32bd08bd8f880da58e606b3957159c78725d739ca', -- Till
  128. '497223af7ce512a31d7c282765951063d781f46f6e6a890faa3bf2e03fe2e19c', -- Torben
  129. '6274bc371973f6cedd6c63523388fda3a938df26a1cfbe91378c8c0a1bf6efca', -- Tim
  130. '9ff0fe17bac59f48db2bce0bd78016b6081324140da6d483e53ad7008d728290', -- Stefan
  131. '59beffa6ce536e119c91a0ea83a20747b8f753311113c7e97f82444661ca21ba', -- Cajus
  132. },
  133. },
  134. experimental = {
  135. name = 'experimental',
  136. mirrors = {'http://update.services.ffdo.de/ffdo/experimental/images/sysupgrade'},
  137. probability = 0.08,
  138. good_signatures = 1,
  139. pubkeys = {
  140. '4b74a95381fdb8d4db0f69effde000befe8e58a14996a8f732213cc40627b7fe', -- Markus
  141. '64825ce2492cf99c51abcba32bd08bd8f880da58e606b3957159c78725d739ca', -- Till
  142. '497223af7ce512a31d7c282765951063d781f46f6e6a890faa3bf2e03fe2e19c', -- Torben
  143. '6274bc371973f6cedd6c63523388fda3a938df26a1cfbe91378c8c0a1bf6efca', -- Tim
  144. '9ff0fe17bac59f48db2bce0bd78016b6081324140da6d483e53ad7008d728290', -- Stefan
  145. '59beffa6ce536e119c91a0ea83a20747b8f753311113c7e97f82444661ca21ba', -- Cajus
  146. },
  147. },
  148. },
  149. },
  150. config_mode = {
  151. geo_location = {
  152. show_altitude = false,
  153. },
  154. remote_login = {
  155. show_password_form = true,
  156. },
  157. },
  158. }