forked from ffbs/site-ffbs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.conf
133 lines (122 loc) · 3.16 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
{
hostname_prefix = 'freifunk',
site_name = 'Freifunk Braunschweig',
site_code = 'ffbs',
prefix4 = '10.38.0.0/16',
prefix6 = '2001:bf7:380::/64',
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
ntp_servers = {'1.ntp.services.ffbs', '2.ntp.services.ffbs'},
regdom = 'DE',
wifi24 = {
channel = 1,
htmode = 'HT40+',
ap = {
ssid = 'braunschweig.freifunk.net',
},
ibss = {
ssid = '02:d1:11:37:fc:38',
bssid = '02:d1:11:37:fc:38',
mcast_rate = 12000,
},
mesh = {
id = 'ffbs-mesh',
mcast_rate = 12000,
disabled = true,
},
},
wifi5 = {
channel = 44,
htmode = 'HT40+',
ap = {
ssid = 'braunschweig.freifunk.net (5GHz)',
},
ibss = {
ssid = '02:d1:11:37:fc:38',
bssid = '02:d1:11:37:fc:38',
mcast_rate = 12000,
},
mesh = {
id = 'ffbs-mesh',
mcast_rate = 12000,
disabled = true,
},
},
next_node = {
ip4 = '10.38.0.127',
ip6 = '2001:bf7:380::7f',
mac = '72:02:46:6a:1c:27',
},
fastd_mesh_vpn = {
methods = {'salsa2012+gmac'},
mtu = 1426,
enabled = True,
groups = {
backbone = {
limit = 3,
peers = {
gw03 = {
key = '872cac3b00096a8ee763e80df2be331ba1ffa5dbe00d1e025a85d25c3cee82fb',
remotes = {'ipv4 "gw03.freifunk-bs.de" port 10000'},
},
unicorn = {
key = '1b3d401d841a1496970f1f7abc6fe21c01bfdc6cf391835d91a6798250ea8faf',
remotes = {'ipv4 "gw02.freifunk-bs.de" port 10000'},
},
gw01 = {
key = 'c7b3985fa8efbcf0f79f29ad62a30bfcf35e6b115e4caeb258f4f5b6b7264c9f',
remotes = {'ipv4 "gw01.freifunk-bs.de" port 10000'},
},
},
},
},
},
autoupdater = {
branch = 'stable',
branches = {
stable = {
name = 'stable',
mirrors = {'http://firmware.freifunk-bs.de/stable/sysupgrade'},
good_signatures = 1,
pubkeys = {
'24e810335660d4b4e6da8d115dfa8e4283c931a5da5b337391311f14ef7fe445', -- oni
'4efefc817e93fed2df1176f07621f432d088ef1f534bf455195b363870278bb1', -- jenkins
},
},
beta = {
name = 'beta',
mirrors = {'http://firmware.freifunk-bs.de/beta/sysupgrade'},
good_signatures = 1,
pubkeys = {
'24e810335660d4b4e6da8d115dfa8e4283c931a5da5b337391311f14ef7fe445', -- oni
'4efefc817e93fed2df1176f07621f432d088ef1f534bf455195b363870278bb1', -- jenkins
},
},
experimental = {
name = 'experimental',
mirrors = {'http://firmware.freifunk-bs.de/experimental/sysupgrade'},
good_signatures = 1,
pubkeys = {
'24e810335660d4b4e6da8d115dfa8e4283c931a5da5b337391311f14ef7fe445', -- oni
'4efefc817e93fed2df1176f07621f432d088ef1f534bf455195b363870278bb1', -- jenkins
},
},
},
},
simple_tc = {
mesh_vpn = {
ifname = 'mesh-vpn',
enabled = false,
limit_egress = 200,
limit_ingress = 3000,
},
},
legacy = {
version_files = {'/etc/.freifunk_version_keep', '/etc/.lff_version_keep'},
old_files = {'/etc/config/config_mode', '/etc/config/ffbs', '/etc/config/freifunk'},
config_mode_configs = {'config_mode', 'ffbs', 'freifunk'},
fastd_configs = {'ffbs_mesh_vpn', 'mesh_vpn'},
mesh_ifname = 'freifunk',
tc_configs = {'ffbs', 'freifunk'},
wifi_names = {'wifi_freifunk', 'wifi_freifunk5', 'wifi_mesh', 'wifi_mesh5'},
},
}