forked from ffibk/site-ffibk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.conf
126 lines (120 loc) · 3.82 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
{
hostname_prefix = 'ff-ibk-',
site_name = 'Freifunk Innsbruck',
site_code = 'ibk',
prefix4 = '10.13.144.0/20',
prefix6 = 'fd13:b4dc:4b1e::/64',
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3',
ntp_servers = {
'0.openwrt.pool.ntp.org',
'1.openwrt.pool.ntp.org',
'2.openwrt.pool.ntp.org',
'3.openwrt.pool.ntp.org',
},
opkg = {
extra = {
modules = 'http://packages.freifunk-innsbruck.at/modules/gluon-%GS-%GR/%S',
},
},
regdom = 'AT',
wifi24 = {
channel = 11,
ap = {
ssid = 'freifunk-innsbruck.at',
},
ibss = {
ssid = 'wifimesh-ibk',
bssid = 'B2:CA:FF:EE:BA:BE',
mcast_rate = 12000,
},
},
wifi5 = {
channel = 44,
ap = {
ssid = 'freifunk-innsbruck.at',
},
ibss = {
ssid = 'wifimesh-ibk',
bssid = '02:44:CA:FF:EE:EE',
mcast_rate = 12000,
},
},
dns = {
cacheentries = 5000,
servers = { 'fd13:b4dc:4b1e::13', },
},
next_node = {
ip4 = '10.13.144.1',
ip6 = 'fd13:b4dc:4b1e::1',
-- anycast MAC of all nodes
mac = '02:00:0a:25:00:01',
},
-- 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 = 20,
},
},
mesh_vpn = {
enabled = true,
mtu = 1406,
fastd = {
methods = {'salsa2012+umac'},
groups = {
backbone = {
limit = 2,
peers = {
ibk1 = {
key = '1b2b2d5b7633d91bf3f9ac4b3c7995eb672b5007f495989a21a3e400ef4bb246',
remotes = {'ipv4 "vpn01.freifunk-innsbruck.at" port 10000'},
},
ibk2 = {
key = 'c35de5e26358bc63536cf1e5aa5dd52b871e4aca98bb536ee2edfef23e188ee1',
remotes = {'ipv4 "vpn02.freifunk-innsbruck.at" port 10000'},
},
},
},
},
bandwidth_limit = {
enabled = false,
egress = 400,
ingress = 6000,
},
},
},
autoupdater = {
branch = 'stable',
branches = {
stable = {
name = 'stable',
mirrors = {
'http://updates01.freifunk-innsbruck.at/stable/sysupgrade',
},
probability = 0.08,
good_signatures = 1,
pubkeys = {
'52eee3581cd8f836ca300c9d1abb96f4d27dc3afaa45003a6de7f7c0dec0b512', -- Wingdu (Freifunk Innsbruck)
'a32c7a6b29859916ceb3731e170773ef75be27a9b945fab428afc75886dedfb5', -- Gwrx ( Freifunk Innsbruck)
},
},
beta = {
name = 'beta',
mirrors = {
'http://updates01.freifunk-innsbruck.at/experimental/sysupgrade',
},
probability = 0.08,
good_signatures = 1,
pubkeys = {
'52eee3581cd8f836ca300c9d1abb96f4d27dc3afaa45003a6de7f7c0dec0b512', -- Wingdu (Freifunk Innsbruck)
'a32c7a6b29859916ceb3731e170773ef75be27a9b945fab428afc75886dedfb5', -- Gwrx ( Freifunk Innsbruck)
},
},
},
},
-- enable BATMAN on WAN interface by default (see gluon-luci-portconfig for webinterface)
mesh_on_wan = false,
}