forked from Gammelknup/site-ffkbu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.conf
199 lines (171 loc) · 5.75 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
{
-- Used for generated hostnames, e.g. freifunk-abcdef123456.
hostname_prefix = 'ffkbu-',
-- Name of the community.
site_name = 'Freifunk KBU Hood Bonn',
-- Shorthand of the community.
site_code = 'ffkbu',
opkg = {
openwrt = 'http://openwrt.draic.info/%n/%v/%S/packages',
extra = {
modules = '',
},
},
-- Prefixes used within the mesh. Both are required.
prefix4 = '10.159.0.0/18',
prefix6 = 'fdd3:5d16:b5dd:fc39::/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 = {'2.pool.ntp.org'},
-- Wireless regulatory domain of your community.
regdom = 'DE',
-- Wireless configuratoin for 2.4 GHz interfaces.
wifi24 = {
channel = 1,
ap = {
ssid = 'kbu.freifunk.net',
},
ibss = {
ssid = '02:d1:11:37:fc:39', -- ESSID used for mesh
bssid = '02:d1:11:37:fc:39', -- BSSID used for mesh
mcast_rate = 12000,
},
},
wifi5 = {
channel = 44,
ap = {
ssid = 'kbu.freifunk.net',
},
ibss = {
ssid = '02:d1:11:37:fc:59',
bssid = '02:d1:11:37:fc:59',
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.159.0.3',
ip6 = 'fdd3:5d16:b5dd:fc39::fc39',
-- anycast MAC of all nodes
mac = '16:41:ca:fe:be:ef',
},
-- Refer to http://fastd.readthedocs.org/en/latest/ to better understand
-- what these options do.
fastd_mesh_vpn = {
-- List of crypto-methods to use.
methods = {'salsa2012+umac'},
mtu = 1312,
configurable = true,
enabled = true,
bandwidth_limit = {
enabled = false,
ingress = 3000,
egress = 384,
},
groups = {
backbone = {
-- Limit number of connected peers to reduce bandwidth.
limit = 2,
-- List of peers.
peers = {
fastd1 = {
key = '657af03e36ff1b8bbe5a5134982a4f110c8523a9a63293870caf548916a95a03',
remotes = {'ipv4 "fastd1.kbu.freifunk.net" port 10002'},
},
fastd2 = {
key = '93654269a9ad0763851ed930e47a453b70bcbb874879e5c1f639df3f44d72d31',
remotes = {'ipv4 "fastd2.kbu.freifunk.net" port 10002'},
},
fastd3 = {
key = 'd56181dfe9b5ac7cfe68a94c0ce406322a9924286a751673da0dcb28ad5218b0',
remotes = {'ipv4 "fastd3.kbu.freifunk.net" port 10002'},
},
fastd4 = {
key = '9b3f65f99963343e2785c8c4fad65e70b73ee7e1205d63bd84f3e2decb53e621',
remotes = {'ipv4 "fastd4.kbu.freifunk.net" port 10002'},
},
fastd5 = {
key = '6e4546121d16e7189715aef8ceb78ab58d59462720969318445f97b4301374d1',
remotes = {'ipv4 "fastd5.kbu.freifunk.net" port 10002'},
},
fastd6 = {
key = '2a2c69dbb3b9fd90d7eb8e2f70be70b472d811cd4f3743ad9f5002d14b5c94cd',
remotes = {'ipv4 "fastd6.kbu.freifunk.net" port 10002'},
},
fastd7 = {
key = '68de6815a89270c8eaf7832deedb8da098aad2ae5793cd2cd55dec3541ad28f2',
remotes = {'ipv4 "fastd7.kbu.freifunk.net" port 10002'},
},
fastd8 = {
key = 'b41a9714b1178ce428b15af0b6055cc204b39af2088ef3b371d8c36219eedd1e',
remotes = {'ipv4 "fastd8.kbu.freifunk.net" port 10002'},
},
},
},
},
},
autoupdater = {
-- Default branch. Don't forget to set GLUON_BRANCH when building!
branch = 'noupdate',
-- List of branches. You may define multiple branches.
branches = {
stable = {
name = 'noupdate',
-- List of mirrors to fetch images from. IPv6 required!
mirrors = {'http://'},
-- 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 = 9001,
-- List of public keys of maintainers.
pubkeys = {
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', -- Mr.X (Noone)
},
},
},
},
-- skip setup on first boot
setup_mode = {
skip = true,
},
-- These strings are shown in config mode. Some HTML is permissible.
--
-- msg_welcome: shown at startup
-- msg_pubkey: shown when VPN is enabled
-- msg_reboot: shown during reboot (after finishing configuration)
--
-- You may use some variables, e.g.:
--
-- <%=hostname%> - the node's hostname
-- <%=pubkey%> - the fastd public key
-- <%=sysconfig.primary_mac%> - the node's primary MAC
config_mode = {
msg_welcome = [[
Willkommen zu Rampone's KBU Freifunk Gluon Test. First of all do not panic.
Um Internet Uplink zu nutzen, bitte unten "mesh vpn" anschalten. Geokoordinaten und Routername kann man zukunftssicher schon hier eintragen.
Dennoch sollte man auch bei register.kbu.freifunk.net sich anmelden, falls dies moeglich ist. Der Routername wird als Hostnamen im LAN genutzt.
]],
msg_pubkey = [[
Dies ist der öffentliche VPN Schlüssel deines Freifunk-Knotens. Der ist bei KBU egal. KBU akzeptiert jegliche Schluessel. Der Router prueft
aber weiterhin automatisch den VPN-Schluessel der KBU Server.
]],
msg_reboot = [[
<p>
Dein Knoten startet gerade neu und wird anschließend versuchen,
sich mit anderen Freifunk-Knoten in seiner Nähe zu
verbinden und/oder sich mit KBU's VPN Servern connecten. Weitere Informationen zur
KBU Freifunk-Community findest du auf
<a href="https://kbu.freifunk.net/">unserer Webseite</a>.
</p>
<p>
Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!
</p>
]],
},
}