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.

For details, see
- freifunkMUC/wgkex#87
- freifunk-gluon/community-packages#100
- freifunk-gluon/community-packages#101
- freifunk-gluon/community-packages#102
  • Loading branch information
grische committed Apr 6, 2024
1 parent 2783b81 commit 9225d1b
Show file tree
Hide file tree
Showing 18 changed files with 72 additions and 54 deletions.
7 changes: 4 additions & 3 deletions domains/ffdon_mitte.conf
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffdon_nordwest.conf
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffdon_sued.conf
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffmuc_augsburg.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffmuc_freising.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffmuc_gauting.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffmuc_muc_cty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffmuc_muc_nord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffmuc_muc_ost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffmuc_muc_sued.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffmuc_muc_west.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffmuc_uml_nord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffmuc_uml_ost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffmuc_uml_sued.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffmuc_uml_west.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffmuc_welt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffwert_city.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down
7 changes: 4 additions & 3 deletions domains/ffwert_events.conf
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@
mesh_vpn = {
mtu = 1406,
wireguard = {
enabled = 'true',
enabled = true,
iface = 'wg_mesh_vpn',
limit = '1', -- actually unused
broker = 'broker.ffmuc.net/api/v1/wg/key/exchange',
mtu = 1406,
broker = 'broker.ffmuc.net',
loadbalancing = 'on-by-default',
peers = {
{
publickey ='TszFS3oFRdhsJP3K0VOlklGMGYZy+oFCtlaghXJqW2g=',
Expand Down

0 comments on commit 9225d1b

Please sign in to comment.