This repository has been archived by the owner on Oct 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.conf
236 lines (210 loc) · 7.46 KB
/
site.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
-- This is the default FF-MYK configuration for Gluon
--
{
-- Used for generated hostnames, e.g. freifunk-abcdef123456.
hostname_prefix = 'ffmyk-',
-- Name of the community.
site_name = 'Freifunk Mayen-Koblenz',
-- Shorthand of the community.
site_code = 'ffmyk',
-- Prefixes used within the mesh. Both are required.
prefix4 = '10.222.0.0/20',
prefix6 = '2a01:198:70a:ff::/64',
-- Timezone of your community.
-- See http://wiki.openwrt.org/doc/uci/system#time.zones
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3',
-- List of NTP servers in your community.
-- Must be reachable using IPv6!
ntp_servers = {
'2a01:198:70a:ff::100:1',
'2a01:198:70a:ff::112:1',
'2a01:198:70a:ff::120:1',
'2a01:198:70a:ff::128:1',
'2a01:198:70a:ff::136:1',
'2a01:198:70a:ff::144:1',
'2a01:198:70a:ff::152:1',
'2a01:198:70a:ff::160:1'
},
-- Wireless regulatory domain of your community.
regdom = 'DE',
-- Wireless configuratoin for 2.4 GHz interfaces.
wifi24 = {
-- Wireless channel.
channel = 1,
-- List of supported wifi rates (optional)
-- Example removes 802.11b compatibility for better performance
supported_rates = {6000, 9000, 12000, 18000, 24000, 36000, 48000, 54000},
-- List of basic wifi rates (optional, required if supported_rates is set)
-- Example removes 802.11b compatibility for better performance
basic_rate = {6000, 9000, 18000, 36000, 54000},
ap = {
-- ESSID used for client network.
ssid = 'freifunk-myk.de',
},
-- 802.11s Meshing
mesh = {
id = 'mesh.ffmyk',
mcast_rate = 12000,
}
},
-- Wireless configuration for 5 GHz interfaces.
wifi5 = {
ap = {
ssid = 'freifunk-myk.de',
},
channel = 44,
-- 802.11s Meshing
mesh = {
id = 'mesh.ffmyk',
mcast_rate = 12000,
}
},
-- The next node feature allows clients to always reach the node it is
-- connected to using a known IP address.
next_node = {
-- anycast IPs of all nodes
ip4 = '10.222.0.254',
ip6 = '2a01:198:70a:ff::FFFE',
-- anycast MAC of all nodes
mac = '02:FF:4D:59:4B:FF',
},
-- Refer to http://fastd.readthedocs.org/en/latest/ to better understand
-- what these options do.
mesh_vpn = {
--
mtu = 1280,
fastd = {
-- List of crypto-methods to use.
methods = {'salsa2012+umac'},
configurable = true,
-- syslog_level = 'warn',
enabled = true,
groups = {
backbone = {
-- Limit number of connected peers to reduce bandwidth.
limit = 2,
-- List of peers.
peers = {
fastd1 = {
key = 'd78c8c9b2977f732cdd00d2d4b557cfb5de1438897d33b9ec04037512dd11d6a',
-- This is a list, so you might add multiple entries.
remotes = {'"fastd1.services.freifunk-myk.de" port 10000'},
},
fastd2 = {
key = 'f753af06aff1e765a0601c21343965cd3a9abd91f98a76867589e742c041a550',
remotes = {'"fastd2.services.freifunk-myk.de" port 10000'},
},
fastd3 = {
key = '70a561adcea747e4758376222cddf7d43db43fac55b43e3840b6e3bc5042b170',
remotes = {'"fastd3.services.freifunk-myk.de" port 10000'},
},
fastd4 = {
key = '30e707472d8eed4397295554764846f309a4b046ba628d24f2acee79543d671c',
remotes = {'"fastd4.services.freifunk-myk.de" port 10000'},
},
fastd5 = {
key = 'c785f8d8f59b75ffbec7eb417e1971dc5a123ff3507e3121352102fdea646e89',
remotes = {'"fastd5.services.freifunk-myk.de" port 10000'},
},
fastd6 = {
key = 'c40b725a5118b7c37f76b562461db160b1c99495f1df254067de2b5772831d22',
remotes = {'"fastd6.services.freifunk-myk.de" port 10000'},
},
fastd7 = {
key = '72dbb9f07c272e6cfba07ebc3e318cc66e7d6e7583d6aa27fdd0445cf1bea2d8',
remotes = {'"fastd7.services.freifunk-myk.de" port 10000'},
},
fastd8 = {
key = '66744cda306b1087753a57a727c79a934c872e7221ec6a28ff41e3a316eff0ab',
remotes = {'"fastd8.services.freifunk-myk.de" port 10000'},
},
fastd9 = {
key = 'a8a79387ffa4370c6ae322d99aeb5b8b82f5580ce8dfe5726e0d161a7894a6ed',
remotes = {'"fastd9.services.freifunk-myk.de" port 10000'},
},
fastd10 = {
key = '03cb2b87af657dfc4a434c5dfe3234e947571ca5a8d114d24e0e9f9861eff558',
remotes = {'"fastd10.services.freifunk-myk.de" port 10000'},
},
fastd11 = {
key = 'c5ddbdc98a9aa8eb4fc684571c23eabaefd6ef63b8cb9d3a31a2cd6e656c47f9',
remotes = {'"fastd11.services.freifunk-myk.de" port 10000'},
},
fastd12 = {
key = 'd47e917875f145a27a3ef10e29bf011c1f89ab4ea313c4bd0d8bac07ffacf557',
remotes = {'"fastd12.services.freifunk-myk.de" port 10000'},
},
fastd13 = {
key = '2895322d66ba7aaa0daf779d795a2a44255d1d14bea639e1267149f466602fce',
remotes = {'"fastd13.services.freifunk-myk.de" port 10000'},
},
fastd14 = {
key = '22e08f6e9c72e77041aa635d380e03069cfe193d9f5a0551ff2188677d15d5c0',
remotes = {'"fastd14.services.freifunk-myk.de" port 10000'},
},
fastd15 = {
key = '78605f4cc687a1a5c2a1cbbacb6310bb4dc2546e605a1f2852aabea5e2dbecbb',
remotes = {'"fastd15.services.freifunk-myk.de" port 10000'},
},
},
},
},
},
},
autoupdater = {
enabled = 1,
-- Default branch. Don't forget to set GLUON_BRANCH when building!
branch = 'stable',
-- List of branches. You may define multiple branches.
branches = {
stable = {
name = 'stable',
-- List of mirrors to fetch images from. IPv6 required!
mirrors = {'http://2a01:198:70a:ff::128:5/update/stable'},
-- Number of good signatures required.
-- Have multiple maintainers sign your build and only
-- accept it when a sufficient number of them have
-- signed it.
good_signatures = 2,
-- List of public keys of maintainers.
pubkeys = {
'04eea4d5c9b1f90d6a7d90879549460af3c45660517dae5799def5c2dad57761', -- Florian
'f430c192512332914b68e9caf03d32776f13d5ea122d11839faa590a6056b288', -- Niklas
},
},
autoupdater = {
name = 'autoupdater',
mirrors = {'http://2a01:198:70a:ff::128:5/update/autoupdater'},
-- Number of good signatures required.
-- Have multiple maintainers sign your build and only
-- accept it when a sufficient number of them have
-- signed it.
good_signatures = 2,
-- List of public keys of maintainers.
pubkeys = {
'04eea4d5c9b1f90d6a7d90879549460af3c45660517dae5799def5c2dad57761', -- Florian
'f430c192512332914b68e9caf03d32776f13d5ea122d11839faa590a6056b288', -- Niklas
},
},
},
},
roles = {
default = 'node',
list = {
'node',
},
},
config_mode = {
geo_location_map = {
show_map = true,
olurl = 'http://firmware.freifunk-myk.de/.static/ol/OpenLayers.js',
map_lon = 50.356667,
map_lat = 7.593889,
show_altitude = false,
},
qrcode = {
show_qrcode = true,
url_prefix = 'https://www.freifunk-myk.de/node/add?'
}
}
}