You can use this package for connecting with wireguard to the freifunk Königswinter network.
You should use something like the following in the site.conf:
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',
},
},
},
The gretatpip
is the one of the server(s)!
And you should include the package in the site.mk of course!