This repository has been archived by the owner on May 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsite.conf
178 lines (156 loc) · 4.72 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
{
-- Used for generated hostnames, e.g. freifunk-abcdef123456. (optional)
hostname_prefix = 'ffdon-',
authorized_keys = { },
site_name = 'Freifunk Donau-Ries',
-- Shorthand of the community.
site_code = 'ffdon',
-- Prefixes used within the mesh. Both are required.
prefix4 = '10.11.144.0/20',
prefix6 = 'fdc4:d762:2143::/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 = {'0.ntp.services.ffdon'},
-- 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.
ap = {
ssid = 'donau-ries.freifunk.net',
-- disabled = true, (optional)
},
ibss = {
ssid = 'F4:ED:39:BF:BC:95',
bssid = 'F4:ED:39:BF:BC:95',
mcast_rate = 6000,
},
mesh = {
-- Adjust these values!
id = 'ffdon-mesh',
mcast_rate = 12000,
-- disabled = true, (optional)
},
},
-- Wireless configuration for 5 GHz interfaces.
-- This should be equal to the 2.4 GHz variant, except
-- for channel.
wifi5 = {
channel = 44,
ap = {
ssid = 'donau-ries.freifunk.net',
},
ibss = {
ssid = 'F4:ED:39:BF:BC:95',
bssid = 'F4:ED:39:BF:BC:95',
mcast_rate = 6000,
},
mesh = {
id = 'ffdon-mesh',
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.11.144.49',
ip6 = 'fdc4:d762:2143:::31',
-- anycast MAC of all nodes
mac = '02:89:AE:E0:A0:2E',
},
-- Options specific to routing protocols (optional)
-- mesh = {
-- Options specific to the batman-adv routing protocol (optional)
-- batman_adv = {
-- Gateway selection class (optional)
-- The default class 20 is based on the link quality (TQ) only,
-- class 1 is calculated from both the TQ and the announced bandwidth
-- gw_sel_class = 1,
-- },
-- },
-- 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 = 1532,
groups = {
backbone = {
-- Limit number of connected peers to reduce bandwidth.
limit = 1,
-- List of peers.
peers = {
peer1 = {
key = '2a9bdf7f012b3339dd10fc41109983c2622fc41b1db90c2874e665216d7397c9',
-- This is a list, so you might add multiple entries.
remotes = {'"gw01.freifunk-donau-ries.de" port 1234'},
},
peer2 = {
key = 'f46f33709bae2ade2d1d62da3f33f484dfa8b2cf00e3a72b8fffd7ebd212fdfa',
-- You can also omit the ipv4 to allow both connection via ipv4 and ipv6
remotes = {'"gw02.freifunk-donau-ries.de" port 1234'},
},
},
-- Optional: nested peer groups
-- groups = {
-- backbone_sub = {
-- ...
-- },
-- ...
-- },
},
-- Optional: additional peer groups, possibly with other limits
-- backbone2 = {
-- ...
-- },
},
bandwidth_limit = {
-- The bandwidth limit can be enabled by default here.
enabled = false,
-- Default upload limit (kbit/s).
egress = 200,
-- Default download limit (kbit/s).
ingress = 3000,
},
},
autoupdater = {
enabled = 1,
branch = 'stable',
-- List of branches. You may define multiple branches.
branches = {
stable = {
name = 'stable',
mirrors = {'http://1.updates.services.ffdon/stable/sysupgrade'},
good_signatures = 1,
pubkeys = {
'6e0b598a32cddd1c3c72581a40565055ac5d2a35527d975561f6ef0176bf9340', --da_1
'b800ef9d37a23d92eebaebc3489aec26b06317965a80427f199cd3cefc8dc7d7', --da_2
'561d6741a1e835a811cf56a2f47642612bfbd9fa51e08313b174e8a787fcee4b', --da_3
'7542237bde3e7e77a0bfcd7bf9dba87cd89a04b855e3803e302732a393e03b4f', --mgk
},
},
},
},
-- Node roles
-- roles = {
-- default = 'node',
-- list = {
-- 'node',
-- 'test',
-- 'backbone',
-- 'service',
-- },
-- },
-- Skip setup mode (config mode) on first boot
-- setup_mode = {
-- skip = true,
-- },
}