forked from FreifunkMD/site-ffmd
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsite.conf
204 lines (176 loc) · 6.08 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
-- This is an example site configuration for Gluon v2014.4
--
-- Take a look at the documentation located at
-- http://gluon.readthedocs.org/ for details.
--
-- This configuration will not work as it. You're required to make
-- community specific changes to it!
{
-- Used for generated hostnames, e.g. freifunk-abcdef123456. (optional)
-- hostname_prefix = 'freifunk-',
-- Name of the community.
site_name = 'Freifunk Magdeburg',
-- Shorthand of the community.
site_code = 'ffmd',
-- Prefixes used within the mesh. Both are required.
prefix4 = '10.139.0.0/17',
prefix6 = 'fda9:026e:5805::/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 = {'1.ntp.ffmd','2.ntp.ffmd',},
-- Wireless regulatory domain of your community.
regdom = 'DE',
-- Wireless configuration for 2.4 GHz interfaces.
wifi24 = {
-- Wireless channel.
channel = 1,
-- ESSID used for client network.
ssid = 'md.freifunk.net',
-- Specifies the channel width in 802.11n and 802.11ac mode.
-- Possible values are:
-- HT20 (single 20MHz channel),
-- HT40- (2x 20MHz channels, secondary below)
-- HT40+ (2x 20MHz channels, secondary above)
htmode = 'HT20',
-- Adjust these values!
mesh_ssid = '02:D1:11:37:FD:45', -- ESSID used for mesh
mesh_bssid = '02:D1:11:37:FD:45', -- BSSID used for mesh
-- Bitrate used for multicast/broadcast packets.
mesh_mcast_rate = 12000,
-- (optional) mesh VLAN on 802.11 ad-hoc interface (1-4095)
-- mesh_vlan = 14,
-- client_disabled = true,
-- mesh_disabled = false,
},
-- Wireless configuration for 5 GHz interfaces.
-- This should be equal to the 2.4 GHz variant, except
-- for channel and htmode.
wifi5 = {
ssid = 'md.freifunk.net',
channel = 44,
htmode = 'HT20',
mesh_ssid = '02:D1:11:37:FD:45',
mesh_bssid = '02:D1:11:37:FD:45',
mesh_mcast_rate = 12000,
-- mesh_vlan = 14,
-- client_disabled = true,
-- mesh_disabled = false,
},
-- 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.139.0.1',
ip6 = 'fda9:026e:5805::1',
-- anycast MAC of all nodes
mac = '16:41:95:40:f7:dc',
},
-- 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'},
enabled = true,
-- configurable = true,
mtu = 1426,
groups = {
backbone = {
-- Limit number of connected peers to reduce bandwidth.
limit = 2,
-- List of peers.
peers = {
peer1 = {
key = '4cd9f8cafd8ee0b24378651252815ddc731d55c4db3c9644d8ee860ecc8df5d2',
-- This is a list, so you might add multiple entries.
remotes = {'ipv4 "fastd1.md.freifunk.net" port 10000'},
},
peer2 = {
key = '23731bc411ef17129163bfedc5ecc7f5df05d46fed0f56d92028d082704474be',
-- You can also omit the ipv4 to allow both connection via ipv4 and ipv6
remotes = {'ipv4 "fastd2.md.freifunk.net" port 10000'},
},
},
-- Optional: nested peer groups
-- groups = {
-- backbone_sub = {
-- ...
-- },
-- ...
-- },
},
-- Optional: additional peer groups, possibly with other limits
-- backbone2 = {
-- ...
-- },
},
},
autoupdater = {
-- 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',
mirrors = {'http://stable.updates.firmware.ffmd'},
good_signatures = 2,
pubkeys = {
'84064131d410a6363071e65c0f010ae0e8c5881db77eec5f7e712fc723178799', -- Alex
'611b43b378ca519c8b179de6feee5629a339ab41a5365910b09fb535b237b068', -- Andreas
'45a3694d464bf9428b839141f31ffb358b541f2718b8d9f7d57c13baa8a4f56b', -- Bastinat0r
'be5155bac7681fb4631bdab72c47b6e606e3f0ccfe50bb8f6cd6866c1c97c729', -- Michel
},
},
beta = {
name = 'beta',
mirrors = {'http://beta.updates.firmware.ffmd'},
good_signatures = 2,
pubkeys = {
'84064131d410a6363071e65c0f010ae0e8c5881db77eec5f7e712fc723178799', -- Alex
'611b43b378ca519c8b179de6feee5629a339ab41a5365910b09fb535b237b068', -- Andreas
'45a3694d464bf9428b839141f31ffb358b541f2718b8d9f7d57c13baa8a4f56b', -- Bastinat0r
'be5155bac7681fb4631bdab72c47b6e606e3f0ccfe50bb8f6cd6866c1c97c729', -- Michel
},
},
experimental = {
name = 'experimental',
mirrors = {'http://experimental.updates.firmware.ffmd'},
good_signatures = 1,
pubkeys = {
'84064131d410a6363071e65c0f010ae0e8c5881db77eec5f7e712fc723178799', -- Alex
'611b43b378ca519c8b179de6feee5629a339ab41a5365910b09fb535b237b068', -- Andreas
'45a3694d464bf9428b839141f31ffb358b541f2718b8d9f7d57c13baa8a4f56b', -- Bastinat0r
'be5155bac7681fb4631bdab72c47b6e606e3f0ccfe50bb8f6cd6866c1c97c729', -- Michel
},
},
},
},
-- Node roles
-- roles = {
-- default = 'node',
-- list = {
-- 'node',
-- 'test',
-- 'backbone',
-- 'service',
-- },
-- },
-- Bandwidth limiting
simple_tc = {
mesh_vpn = {
ifname = 'mesh-vpn',
-- You may enable it by default here.
enabled = false,
-- Default upload limit (kbit/s).
limit_egress = 200,
-- Default download limit (kbit/s).
limit_ingress = 3000,
},
},
-- Skip setup mode (config mode) on first boot
-- setup_mode = {
-- skip = true,
-- },
}