-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.conf
242 lines (219 loc) · 5.21 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
237
238
239
240
241
242
{
hostname_prefix = 'ffnix-',
-- Name of the community.
site_name = 'Freifunk Nix',
-- Shorthand of the community.
site_code = 'ffnix',
-- 32 bytes of random data, encoded in hexadecimal
-- Must be the same for all nodes in one mesh domain
-- Can be generated using: echo $(hexdump -v -n 32 -e '1/1 "%02x"' </dev/urandom)
domain_seed = '9cef6f80d8e103cf3b83da463c675cbb3c674916e0f861bcca93a5ffc846cf5d',
-- Prefixes used within the mesh. Both are required.
prefix4 = '10.1.64.0/22',
prefix6 = 'fdeb:52c8:d094:1000::/64', -- (node announces via radvd)
extra_prefixes6 = {
'2a01:4f8:171:fc00::/56', -- elsenz.ffrn.de
'2a01:4f8:140:7700::/56', -- itter.ffrn.de
'2a01:4f8:160:9700::/56', -- weschnitz.ffrn.de
'2a0e:b107:eb0:300::/56', -- as212120 srv-pub
},
radv_filterd = {
threshold = 20,
},
-- 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 = {'ntp.ffrn.de', '2.freifunk.pool.ntp.org', '2.de.pool.ntp.org'},
-- Package Manager configuration to allow kernel module install
opkg = {
openwrt = 'http://opkg.ff.tomhe.de/openwrt/releases/packages-%v/%A',
extra = {
gluon = 'http://opkg.ff.tomhe.de/modules/gluon-%GS-%GR/%S',
},
},
ssh_manager = {
defaults = {
enabled = true,
groups = {
'tom',
},
},
groups = {
tom = {
'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEZCW+hFI0R/lDU/w0Y/YLgzVAsKOMwna6BrU1Qu97LQ ffrn+fw@tomh v2',
},
},
},
-- Wireless regulatory domain of your community.
regdom = 'DE',
-- Wireless configuration for 2.4 GHz interfaces.
wifi24 = {
channel = 5,
ap = {
ssid = 'ff-nix',
owe_ssid = "owe.ff-nix",
owe_transition_mode = true,
},
mesh = {
id = 'ffnix-mesh',
mcast_rate = 12000;
},
},
wifi5 = {
channel = 40,
outdoor_chanlist = '100-140',
ap = {
ssid = 'ff-nix',
owe_ssid = "owe.ff-nix",
owe_transition_mode = true,
},
mesh = {
id = 'ffnix-mesh',
mcast_rate = 12000;
},
},
usteer = {
network = {
enabled = true,
wireless = true,
wired = true,
update_interval = 5000,
update_timeout = 12,
},
band_steering = {
enabled = true,
min_snr = -60,
interval = 20000,
}
},
mesh = {
vxlan = true,
batman_adv = {
routing_algo = 'BATMAN_IV',
},
},
next_node = {
-- anycast IPs of all nodes
name = { 'nextnode.ff.tomhe.de', 'nextnode' },
ip4 = '10.1.67.254',
ip6 = 'fdeb:52c8:d094:1000::1:1'
},
node_whisperer = {
enabled = true,
information = {
'hostname',
'node_id',
'uptime',
'site_code',
'domain',
'system_load',
'firmware_version',
'batman_adv',
},
},
dns = {
cacheentries = 4096,
servers = {
'fdeb:52c8:d094:a::55:1',
'fdeb:52c8:d094:a::56:1',
},
},
mesh_vpn = {
enabled = true,
pubkey_privacy = false,
bandwidth_limit = {
enabled = false,
-- Default upload limit (kbit/s).
egress = 1600,
-- Default download limit (kbit/s).
ingress = 5000,
},
fastd = {
methods = {
'null@l2tp',
'null',
},
mtu = 1312,
groups = {
backbone = {
limit = 1,
peers = {
gw01 = {
key = 'f823abd039671e598cf7a0b86d4e13637c272039bf68d9fbd66d4f33fc48ec61',
remotes = {'"gw-test01.ff.tomhe.de" port 10000'},
},
gw02 = {
key = '05005938c9235b254a94a0121aa3b6eb22f0066d0a85293cd824b67a436b9d8a',
remotes = {'"gw-test02.ff.tomhe.de" port 10000'},
},
gw03 = {
key = 'b875bb9b6da0d86156439427d8c9eea8b50697568870b4eaf511ed42663c364e',
remotes = {'"gw-test03.ff.tomhe.de" port 10000'},
},
gw04 = {
key = '826ebaa99fdd2ce8570002cd7e7f5d318454788251e8ada2bfcad0283dec98ad',
remotes = {'"gw-test04.ff.tomhe.de" port 10000'},
},
},
},
},
},
},
autoupdater = {
branch = 'nightly',
branches = {
stable = {
name = 'stable',
mirrors = {'http://fw.gluon.ff.tomhe.de/stable/sysupgrade'},
good_signatures = 1,
pubkeys = {
'1c5647e53ee22756d52ce4c1830b27472d9381b808eb9e46bba99f8433406195', -- Tom/herbetom
},
},
beta = {
name = 'beta',
mirrors = {'http://fw.gluon.ff.tomhe.de/beta/sysupgrade'},
good_signatures = 1,
pubkeys = {
'1c5647e53ee22756d52ce4c1830b27472d9381b808eb9e46bba99f8433406195', -- Tom/herbetom
},
},
experimental = {
name = 'experimental',
mirrors = {'http://fw.gluon.ff.tomhe.de/experimental/sysupgrade'},
good_signatures = 1,
pubkeys = {
'1c5647e53ee22756d52ce4c1830b27472d9381b808eb9e46bba99f8433406195', -- Tom/herbetom
},
},
nightly = {
name = 'nightly',
mirrors = {'http://fw.gluon.ff.tomhe.de/nightly/sysupgrade'},
good_signatures = 1,
pubkeys = {
'1c5647e53ee22756d52ce4c1830b27472d9381b808eb9e46bba99f8433406195', -- Tom/herbetom
'0079eb306a3443eaed4d2201809944d39e902c0aa1490cd7aa7671d955dd0259', -- github
},
},
},
},
config_mode = {
hostname = {
optional = false,
prefill = true,
},
geo_location = {
show_altitude = false,
osm = {
center = {
lat = 49.457,
lon = 8.621,
},
zoom = 10,
openlayers_url = 'https://openlayers.ffrn.de/v5.3.0',
},
},
},
}