|
@@ -12,6 +12,13 @@
|
|
-- site_code = 'ffho_${un-code}'
|
|
-- site_code = 'ffho_${un-code}'
|
|
site_code = '%SC',
|
|
site_code = '%SC',
|
|
|
|
|
|
|
|
+ -- 32 bytes of random data, encoded in hexadecimal, used to seed other
|
|
|
|
+ -- random values specific to the mesh domain. It must be the same for all
|
|
|
|
+ -- nodes of one mesh, but should be different for firmwares that are not
|
|
|
|
+ -- supposed to mesh with each other.
|
|
|
|
+ -- TODO: Must be set individual by any domain
|
|
|
|
+ domain_seed = '%DS',
|
|
|
|
+
|
|
-- v4 and v6 prefixes in which nodes+clients might get an IP
|
|
-- v4 and v6 prefixes in which nodes+clients might get an IP
|
|
prefix4 = '%V4',
|
|
prefix4 = '%V4',
|
|
prefix6 = '2a03:2260:2342:%V6::/64',
|
|
prefix6 = '2a03:2260:2342:%V6::/64',
|
|
@@ -24,15 +31,20 @@
|
|
|
|
|
|
-- OpenWRT Package Repository (IPv6 capable)
|
|
-- OpenWRT Package Repository (IPv6 capable)
|
|
opkg = {
|
|
opkg = {
|
|
- openwrt = 'http://firmware.srv.in.ffho.net/openwrt/%n/%v/%S/packages',
|
|
|
|
|
|
+ lede = 'http://firmware.srv.in.ffho.net/lede/packages-%v/%A',
|
|
extra = {
|
|
extra = {
|
|
- modules = 'http://firmware.srv.in.ffho.net/%GR/modules/%S',
|
|
|
|
|
|
+ gluon = 'http://firmware.srv.in.ffho.net/%GR/modules/%S',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
|
|
-- regulatory domain of your wifi
|
|
-- regulatory domain of your wifi
|
|
regdom = 'DE',
|
|
regdom = 'DE',
|
|
|
|
|
|
|
|
+ mesh = {
|
|
|
|
+ -- for now, we don't use vxlan on the mesh
|
|
|
|
+ vxlan = false,
|
|
|
|
+ },
|
|
|
|
+
|
|
-- wifi settings (2.4 GHz and 5 GHz)
|
|
-- wifi settings (2.4 GHz and 5 GHz)
|
|
-- ap.ssid = 'hochstift.freifunk.net/${kürzel}',
|
|
-- ap.ssid = 'hochstift.freifunk.net/${kürzel}',
|
|
-- mesh.id = 'ffho-mesh-${group-name}',
|
|
-- mesh.id = 'ffho-mesh-${group-name}',
|
|
@@ -67,78 +79,79 @@
|
|
next_node = {
|
|
next_node = {
|
|
ip4 = '%N4',
|
|
ip4 = '%N4',
|
|
ip6 = '2a03:2260:2342:%V6::1',
|
|
ip6 = '2a03:2260:2342:%V6::1',
|
|
|
|
+ name = { 'node.ffho.net' },
|
|
|
|
|
|
-- mac address, must be unique in the client network
|
|
-- mac address, must be unique in the client network
|
|
-- (usually, you don't need to change this)
|
|
-- (usually, you don't need to change this)
|
|
mac = 'f2:ff:ff:%ID:ff:ff',
|
|
mac = 'f2:ff:ff:%ID:ff:ff',
|
|
},
|
|
},
|
|
|
|
|
|
- -- fastd (vpn) settings
|
|
|
|
- fastd_mesh_vpn = {
|
|
|
|
- -- cipher(s) to use
|
|
|
|
- methods = {'salsa2012+umac'},
|
|
|
|
-
|
|
|
|
|
|
+ mesh_vpn = {
|
|
-- the maximum transfer unit
|
|
-- the maximum transfer unit
|
|
mtu = 1406,
|
|
mtu = 1406,
|
|
|
|
|
|
- groups = {
|
|
|
|
- backbone = {
|
|
|
|
- -- specifies how many servers are contacted
|
|
|
|
- -- by a client simultanously
|
|
|
|
- limit = 1,
|
|
|
|
-
|
|
|
|
- -- list all available vpn servers
|
|
|
|
- peers = {
|
|
|
|
- gw01 = {
|
|
|
|
- -- public fastd key of the vpn server
|
|
|
|
- key = '97bc56ae561f67cfe15364134868c3553b5f1eab06f7bd9c5b93fbf280a52b51',
|
|
|
|
- -- remotes is an array of ways on how to reach the VPN server
|
|
|
|
- -- Use public addresses here, these addresses are used when the mesh might not be connected yet.
|
|
|
|
- -- format: '[|ipv4|ipv6] "hostname-or-ip-address" port 10000'
|
|
|
|
- remotes = {
|
|
|
|
- '"gw01.ffho.net" port 100%ID',
|
|
|
|
- 'ipv6 "2001:830:c:9::12" port 100%ID',
|
|
|
|
- 'ipv4 "80.242.130.70" port 100%ID',
|
|
|
|
|
|
+ -- fastd (vpn) settings
|
|
|
|
+ fastd = {
|
|
|
|
+ -- cipher(s) to use
|
|
|
|
+ methods = {'salsa2012+umac'},
|
|
|
|
+
|
|
|
|
+ groups = {
|
|
|
|
+ backbone = {
|
|
|
|
+ -- specifies how many servers are contacted
|
|
|
|
+ -- by a client simultanously
|
|
|
|
+ limit = 1,
|
|
|
|
+
|
|
|
|
+ -- list all available vpn servers
|
|
|
|
+ peers = {
|
|
|
|
+ gw01 = {
|
|
|
|
+ -- public fastd key of the vpn server
|
|
|
|
+ key = '97bc56ae561f67cfe15364134868c3553b5f1eab06f7bd9c5b93fbf280a52b51',
|
|
|
|
+ -- remotes is an array of ways on how to reach the VPN server
|
|
|
|
+ -- Use public addresses here, these addresses are used when the mesh might not be connected yet.
|
|
|
|
+ -- format: '[|ipv4|ipv6] "hostname-or-ip-address" port 10000'
|
|
|
|
+ remotes = {
|
|
|
|
+ '"gw01.ffho.net" port 100%ID',
|
|
|
|
+ 'ipv6 "2001:830:c:9::12" port 100%ID',
|
|
|
|
+ 'ipv4 "80.242.130.70" port 100%ID',
|
|
|
|
+ },
|
|
},
|
|
},
|
|
- },
|
|
|
|
- gw02 = {
|
|
|
|
- key = 'e8fa9bf402fd33dd1ba804a97f2e46c704423ff49e9c55312845a7bfb93121ad',
|
|
|
|
- remotes = {
|
|
|
|
- '"gw02.ffho.net" port 100%ID',
|
|
|
|
- 'ipv6 "2a01:4f8:190:6500::18:1" port 100%ID',
|
|
|
|
- 'ipv4 "78.46.242.24" port 100%ID',
|
|
|
|
|
|
+ gw02 = {
|
|
|
|
+ key = 'e8fa9bf402fd33dd1ba804a97f2e46c704423ff49e9c55312845a7bfb93121ad',
|
|
|
|
+ remotes = {
|
|
|
|
+ '"gw02.ffho.net" port 100%ID',
|
|
|
|
+ 'ipv6 "2a01:4f8:190:6500::18:1" port 100%ID',
|
|
|
|
+ 'ipv4 "78.46.242.24" port 100%ID',
|
|
|
|
+ },
|
|
},
|
|
},
|
|
- },
|
|
|
|
- gw03 = {
|
|
|
|
- key = '629b2742922f068ef49558283aea4b75c1427d8cdd3fcd2dbd7c00880547d3b3',
|
|
|
|
- remotes = {
|
|
|
|
- '"gw03.ffho.net" port 100%ID',
|
|
|
|
- 'ipv6 "2a00:13c8:1000:2::165" port 100%ID',
|
|
|
|
- 'ipv4 "185.46.137.165" port 100%ID',
|
|
|
|
|
|
+ gw03 = {
|
|
|
|
+ key = '629b2742922f068ef49558283aea4b75c1427d8cdd3fcd2dbd7c00880547d3b3',
|
|
|
|
+ remotes = {
|
|
|
|
+ '"gw03.ffho.net" port 100%ID',
|
|
|
|
+ 'ipv6 "2a00:13c8:1000:2::165" port 100%ID',
|
|
|
|
+ 'ipv4 "185.46.137.165" port 100%ID',
|
|
|
|
+ },
|
|
},
|
|
},
|
|
- },
|
|
|
|
- gw04 = {
|
|
|
|
- key = 'cf3855e5fa04e4c04a294cb6e8902f91c7ff7ef82bf031cc842a2b79b936677c',
|
|
|
|
- remotes = {
|
|
|
|
- '"gw04.ffho.net" port 100%ID',
|
|
|
|
- 'ipv6 "2a02:450:1::22" port 100%ID',
|
|
|
|
- 'ipv4 "80.70.181.63" port 100%ID',
|
|
|
|
|
|
+ gw04 = {
|
|
|
|
+ key = 'cf3855e5fa04e4c04a294cb6e8902f91c7ff7ef82bf031cc842a2b79b936677c',
|
|
|
|
+ remotes = {
|
|
|
|
+ '"gw04.ffho.net" port 100%ID',
|
|
|
|
+ 'ipv6 "2a02:450:1::22" port 100%ID',
|
|
|
|
+ 'ipv4 "80.70.181.63" port 100%ID',
|
|
|
|
+ },
|
|
},
|
|
},
|
|
- },
|
|
|
|
- gw05 = {
|
|
|
|
- key = 'd0d32a2f536a0fc1f0c848e6da15bd96851d5ff4fdf9239c830bab033ddcec1a',
|
|
|
|
- remotes = {
|
|
|
|
- '"gw05.ffho.net" port 100%ID',
|
|
|
|
- 'ipv6 "2001:638:502:1884::ff15" port 100%ID',
|
|
|
|
- 'ipv4 "192.26.175.183" port 100%ID',
|
|
|
|
|
|
+ gw05 = {
|
|
|
|
+ key = 'd0d32a2f536a0fc1f0c848e6da15bd96851d5ff4fdf9239c830bab033ddcec1a',
|
|
|
|
+ remotes = {
|
|
|
|
+ '"gw05.ffho.net" port 100%ID',
|
|
|
|
+ 'ipv6 "2001:638:502:1884::ff15" port 100%ID',
|
|
|
|
+ 'ipv4 "192.26.175.183" port 100%ID',
|
|
|
|
+ },
|
|
},
|
|
},
|
|
- },
|
|
|
|
- gw06 = {
|
|
|
|
- key = '88b570c4cc811259b7c4106943098c9bee1126d692ddacedd23cd48efc28b0bf',
|
|
|
|
- remotes = {
|
|
|
|
- '"gw06.ffho.net" port 100%ID',
|
|
|
|
- 'ipv6 "2001:41d0:a:377a::54" port 100%ID',
|
|
|
|
- 'ipv4 "5.196.106.54" port 100%ID',
|
|
|
|
|
|
+ gw06 = {
|
|
|
|
+ key = '88b570c4cc811259b7c4106943098c9bee1126d692ddacedd23cd48efc28b0bf',
|
|
|
|
+ remotes = {
|
|
|
|
+ '"gw06.ffho.net" port 100%ID',
|
|
|
|
+ },
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
@@ -177,7 +190,7 @@
|
|
'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
|
|
'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
|
|
'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
|
|
'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
|
|
'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
|
|
'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
|
|
- '9841dde0b9f6485d5fcdc858fb15c1db1c3bc77fb81aef3f0d4b835f76a3d73b', -- kb-light
|
|
|
|
|
|
+ '88d25b1abafe262cd3653ed573b9917eee48a62ceb30e405c051b0ea320c382f', -- KnicklichtJedi
|
|
'39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
|
|
'39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
|
|
},
|
|
},
|
|
},
|
|
},
|
|
@@ -189,7 +202,7 @@
|
|
'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
|
|
'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
|
|
'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
|
|
'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
|
|
'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
|
|
'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
|
|
- '9841dde0b9f6485d5fcdc858fb15c1db1c3bc77fb81aef3f0d4b835f76a3d73b', -- kb-light
|
|
|
|
|
|
+ '88d25b1abafe262cd3653ed573b9917eee48a62ceb30e405c051b0ea320c382f', -- KnicklichtJedi
|
|
'39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
|
|
'39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
|
|
},
|
|
},
|
|
},
|
|
},
|
|
@@ -201,44 +214,33 @@
|
|
'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
|
|
'ba2e6ff4de41ade9959702195d4c26c764e7aab85c627363681c29dbc4a8a2c5', -- oscar-
|
|
'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
|
|
'fb9d6beba63dcb6175d0248c1e743b5fe4359474eb264d27f389d7a962e24477', -- northalpha
|
|
'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
|
|
'f70f9ddeb307fff8fca31a76f4fbd0ac676dab8ad143625f0a4160d434d72876', -- Barbarossa
|
|
- '9841dde0b9f6485d5fcdc858fb15c1db1c3bc77fb81aef3f0d4b835f76a3d73b', -- kb-light
|
|
|
|
|
|
+ '88d25b1abafe262cd3653ed573b9917eee48a62ceb30e405c051b0ea320c382f', -- KnicklichtJedi
|
|
'39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
|
|
'39ef16b1853e54249dae2d06948329a93e3e13f354aaab792552aacd1d0b45ba', -- phimeas
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
|
|
- -- configure ffho-debug
|
|
|
|
- debugserver = {
|
|
|
|
- host = { 'debugreport.ffho.net', '2a01:a700:4621:d102::10' },
|
|
|
|
- port = 1337,
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
- -- enable BATMAN on WAN interface by default (requires gluon-batman-on-wan package)
|
|
|
|
- batman_on_wan = 0,
|
|
|
|
-
|
|
|
|
config_mode = {
|
|
config_mode = {
|
|
|
|
+ -- Show/hide the altitude field
|
|
geo_location = {
|
|
geo_location = {
|
|
show_altitude = false,
|
|
show_altitude = false,
|
|
|
|
+ osm = {
|
|
|
|
+ center = {
|
|
|
|
+ lat = 51.695543946,
|
|
|
|
+ lon = 8.958663940,
|
|
|
|
+ },
|
|
|
|
+ zoom = 11,
|
|
|
|
+ },
|
|
},
|
|
},
|
|
|
|
+ -- define if the contact field is obligatory (optional)
|
|
owner = {
|
|
owner = {
|
|
obligatory = false,
|
|
obligatory = false,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
|
|
- -- link to map
|
|
|
|
- status_page = {
|
|
|
|
- location_link = 'https://map.hochstift.freifunk.net/#/de/map/',
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
- -- geo-default site
|
|
|
|
- site_select = {
|
|
|
|
- geo_default_site = 'ffho_yho',
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
- ath9k_workaround = {
|
|
|
|
- blackout_wait = 60,
|
|
|
|
- reset_wait = 300,
|
|
|
|
- step_size = 10,
|
|
|
|
|
|
+ -- configure DNS forwarding
|
|
|
|
+ dns = {
|
|
|
|
+ servers = { '2a03:2260:2342:f251::53' },
|
|
},
|
|
},
|
|
}
|
|
}
|