This repository has been archived by the owner on Oct 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsite.conf
180 lines (169 loc) · 5.15 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
{
hostname_prefix = 'ffkbuk-',
site_name = 'Freifunk KBU Hood Koeln',
site_code = 'ffkbuk',
opkg = {
openwrt = 'http://openwrt.draic.info/%n/%v/%S/packages',
},
-- Prefixes used within the mesh. Both are required.
prefix4 = '10.158.0.0/18',
prefix6 = 'fdd3:5d16:b5dd:01fc::/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',
'0.openwrt.pool.ntp.org',
'1.openwrt.pool.ntp.org',
'2.openwrt.pool.ntp.org',
'3.openwrt.pool.ntp.org',
},
-- Wireless regulatory domain of your community.
regdom = 'DE',
-- Wireless configuration for 2.4 GHz interfaces.
wifi24 = {
-- Wireless channel.
channel = 1,
ap = {
-- ESSID used for client network.
ssid = 'kbu.freifunk.net',
},
ibss ={
ssid = '02:d2:22:01:fc:22', -- ESSID used for mesh
bssid = '02:d2:22:01:fc:22', -- BSSID used for mesh
-- Bitrate used for multicast/broadcast packets.
mcast_rate = 12000,
},
},
-- Wireless configuration for 5 GHz interfaces.
-- This should be equal to the 2.4 GHz variant, except for channel.
wifi5 = {
channel = 44,
ap = {
ssid = 'kbu.freifunk.net',
},
ibss = {
ssid = '02:d2:22:01:fc:23', -- ESSID used for mesh
bssid = '02:d2:22:01:fc:23', -- BSSID used for 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.158.0.3',
ip6 = 'fdd3:5d16:b5dd:01fc::01fc',
-- anycast MAC of all nodes
mac = '16:42:23:20:15:69',
},
-- 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'},
configurable = true,
enabled = true,
mtu = 1312,
bandwidth_limit = {
enabled = false,
ingress = 3000,
egress = 384,
},
groups = {
backbone = {
-- Limit number of connected peers to reduce bandwidth.
limit = 1,
peers = {
peer1 = {
key = 'ae120edbbd07dce57c2ed6ebefd112886a1416322e7a98352866eed1e0d633cc',
remotes = {
'ipv4 "vpn1.kbu.freifunk.net" port 10010',
'ipv4 "vpn1.ffkbu.de" port 10010'
},
},
peer2 = {
key = '3e01de6c771cf5a50375de4f05e51f7d9251b5659ab9fb54040bf41df411ae46',
remotes = {
'ipv4 "vpn2.kbu.freifunk.net" port 10010',
'ipv4 "vpn2.ffkbu.de" port 10010'
},
},
peer3 = {
key = 'c46d7e141b60be6e57ada3087f1b25beb0bfb51e6b42d1c7f02a067d89c13a1a',
remotes = {
'ipv4 "vpn3.kbu.freifunk.net" port 10010',
'ipv4 "vpn3.ffkbu.de" port 10010'
},
},
peer4 = {
key = 'f4aff2422921822102ed6e67807b0b5db334f04e071356d30fe6c927b8bb9839',
remotes = {
'ipv4 "vpn4.kbu.freifunk.net" port 10010',
'ipv4 "vpn4.ffkbu.de" port 10010'
},
},
peer5 = {
key = 'a6df938cfde83b437346c91e2e548516a25321fb72820f9f757d9479240e26af',
remotes = {
'ipv4 "vpn5.kbu.freifunk.net" port 10009',
'ipv4 "vpn5.ffkbu.de" port 10009'
},
},
peer6 = {
key = 'f125456692a9804885ebc33375d0de6ac934b317fc45682849019704d8ee830d',
remotes = {
'ipv4 "vpn6.kbu.freifunk.net" port 10009',
'ipv4 "vpn6.ffkbu.de" port 10009'
},
},
peer7 = {
key = '389e8ebdf7a7329279b2eb006bd3cf92691eb26f3518e1c596b8634c9f0a3002',
remotes = {
'ipv4 "vpn7.kbu.freifunk.net" port 10009',
'ipv4 "vpn7.ffkbu.de" port 10009'
},
},
peer8 = {
key = 'f9dddb5a3f184fc3b10a6b16205c2392be4d11ae0af4901cb901f7f0d103333a',
remotes = {
'ipv4 "vpn8.kbu.freifunk.net" port 10009',
'ipv4 "vpn8.ffkbu.de" port 10009'
},
},
},
},
},
},
autoupdater = {
branch = 'noupdate',
branches = {
noupdate = {
name = 'noupdate',
mirrors = {'http://'},
good_signatures = 9001,
pubkeys = {
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', -- Alice
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', -- Bob
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', -- Mary
},
},
},
},
-- Node roles
-- roles = {
-- default = 'node',
-- list = {
-- 'node',
-- 'test',
-- 'backbone',
-- 'service',
-- },
-- },
-- Skip setup mode (config mode) on first boot
setup_mode = {
skip = false,
},
}