Skip to content

Commit

Permalink
modules: wgkex loadbalancing with ffmuc-mesh-vpn
Browse files Browse the repository at this point in the history
The new version of ffmuc-mesh-vpn-wireguard-vxlan supports load-balancing
of clients using wgkex.

See freifunkMUC/wgkex#87 for details.
  • Loading branch information
grische committed Mar 17, 2024
1 parent d65bd18 commit bdfebf3
Show file tree
Hide file tree
Showing 19 changed files with 39 additions and 21 deletions.
3 changes: 2 additions & 1 deletion domains/ffdon_mitte.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffdon_nordwest.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffdon_sued.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffmuc_augsburg.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffmuc_freising.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffmuc_gauting.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffmuc_muc_cty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffmuc_muc_nord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffmuc_muc_ost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffmuc_muc_sued.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffmuc_muc_west.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffmuc_uml_nord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffmuc_uml_ost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffmuc_uml_sued.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffmuc_uml_west.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffmuc_welt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffwert_city.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
3 changes: 2 additions & 1 deletion domains/ffwert_events.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
iface = 'wg_mesh_vpn',
mtu = 1406,
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
broker = 'broker.ffmuc.net',
loadbalancing = '1', -- enables loadbalancing/gateway assignment of the broker
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
6 changes: 3 additions & 3 deletions modules
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
# documented below
GLUON_SITE_FEEDS='community'

PACKAGES_COMMUNITY_REPO=https://github.com/freifunk-gluon/community-packages.git
PACKAGES_COMMUNITY_COMMIT=d021daffe6d7a880b098152c1e9edc3c662988b6
PACKAGES_COMMUNITY_BRANCH=master
PACKAGES_COMMUNITY_REPO=https://github.com/DasSkelett/community-packages.git
PACKAGES_COMMUNITY_COMMIT=8208b629cc14aca615071ebd6df8e044cc367f57
PACKAGES_COMMUNITY_BRANCH=wgkex-loadbalancing

0 comments on commit bdfebf3

Please sign in to comment.