Skip to content

Paket um Wireguard in den Hoods für FF KBU zu nutzen

Notifications You must be signed in to change notification settings

ff-kbu/gluon-mesh-vpn-wireguard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 

Repository files navigation

gluon-mesh-vpn-wireguard-kbu

Pretty much https://github.com/freifunk-gluon/gluon/tree/master/package/gluon-mesh-vpn-wireguard but

  • removed wgpeerselector dependency and code
  • using a minutely run micrond shell script to establish wirguard connections

You can use this package for connecting with wireguard to the freifunk hood BonnV2 and UmgebungV2.

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 ='0AMlflcG6n+MiVip4085DgFEQI7B6e/QUbWlpUnm5xU=',
                                        endpoint ='bonn1.kbu.freifunk.net:10020',
                                },                
                                {
                                        publickey ='MwgDvHjM9GuBCeySqbcbhu2hrYaB5hkMA35OZKz0inM=',
                                        endpoint ='bonn2.kbu.freifunk.net:10020',
                                },
                                {
                                        publickey ='qUc5N5GH5b4e/Io8WiL2O3rcK7toDSDbUMUE8GHtBCg=',
                                        endpoint ='bonn3.kbu.freifunk.net:10020',
                                },

                        },
        },
        

The gretatpip is the one of the server(s)! And you should include the package in the site.mk of course!

About

Paket um Wireguard in den Hoods für FF KBU zu nutzen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 74.4%
  • Lua 16.1%
  • Makefile 9.5%