You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
2.7 KiB

{
domain_names = {
eitorf = 'Eitorf'
},
mesh =
{
vxlan = true,
batman_adv = {
routing_algo = 'BATMAN_IV',
gw_sel_class = 3,
},
},
-- Domain Seed
domain_seed = 'e0e05b36828f33c3e7f4946d5bd255358fcf36c4519d4d7698a97c2d16200095',
-- Prefixes used within the mesh. Both are required.
prefix4 = '10.80.0.0/16',
prefix6 = 'fdd3:5d20:b5dd:fe00::/64',
-- Wireless configuration for 2.4 GHz interfaces.
wifi24 = {
-- Wireless channel.
channel = 1,
-- ESSID used for client network.
ap = {
ssid = 'Freifunk-Eitorf.de',
},
mesh = {
id = '02:d1:11:37:fd:49',
mcast_rate = 12000,
},
},
-- Wireless configuration for 5 GHz interfaces.
-- This should be equal to the 2.4 GHz variant, except
-- for channel and htmode.
wifi5 = {
channel = 44,
outdoor_chanlist = '100-140',
ap = {
ssid = 'Freifunk-Eitorf.de',
},
mesh = {
id = '02:d1:11:37:fd:69',
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 = {
name= { 'nextnode', 'nn' },
-- anycast IPs of all nodes
ip4 = '10.80.2.255',
ip6 = 'fdd3:5d20:b5dd:fe00::1',
--ip6 = 'fdff::ff',
-- anycast MAC of all nodes
mac = '16:42:ca:fe:be:ef',
},
-- Refer to http://fastd.readthedocs.org/en/latest/ to better understand
-- what these options do.
mesh_vpn = {
mtu = 1420,
wireguard = {
enabled = 'true',
iface = 'mesh-vpn',
iprange = '10.3', --must be a /16!!
limit = '1', -- actually unused
gretapip = '10.3.0.2',
peers = {
{
publickey ='N9uF5Gg1B5AqWrE9IuvDgzmQePhqhb8Em/HrRpAdnlY=',
endpoint ='ffkwsn01.freifunk-koenigswinter.de:30020',
},
{
publickey ='liatbdT62FbPiDPHKBqXVzrEo6hc5oO5tmEKDMhMTlU=',
endpoint ='ffkwsn02.freifunk-koenigswinter.de:30020',
},
{
publickey ='xakSGG39D1v90j3Z9eVWzojh6nDbnsVUc/RByVdcKB0=',
endpoint ='ffkwsn03.freifunk-koenigswinter.de:30020',
},
},
},
},
}