From e12fa3f42bded2e3518cde17f5066eec2ec2a50a Mon Sep 17 00:00:00 2001 From: bdobe Date: Fri, 1 May 2015 17:27:18 +0200 Subject: [PATCH] Adjust fastd-mesh-vpn config to nested peer groups --- site.conf | 78 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 40 insertions(+), 38 deletions(-) diff --git a/site.conf b/site.conf index 6b0cbdc..584a0ba 100644 --- a/site.conf +++ b/site.conf @@ -39,44 +39,46 @@ enabled = true, methods = {'salsa2012+umac'}, mtu = 1406, - backbone = { - limit = 2, - peers = { - gateway01 = { - key = 'cb09c68e2d2f7d374d47035cd532e0a60b8b3a7447aa5a7f76f4f15c8ffa9e58', - remotes = {'"gw01.hamburg.freifunk.net" port 10000'}, - }, - gateway02 = { - key = '462b4e21ab5eb0f9de687efd97252880c895ba55cc9cc0755a75347b0965b6e0', - remotes = {'"gw02.hamburg.freifunk.net" port 10000'}, - }, - gateway03 = { - key = 'e15295b86138ac490d611e4100f847ccfb7052d5091ded4659f25940be2c0546', - remotes = {'"gw03.hamburg.freifunk.net" port 10000'}, - }, - gateway04 = { - key = 'fca88dd58316f4ab50d2a697123dddf4d0ba3aad52ddeb0ba7835cdbbeb60dbf', - remotes = {'"gw04.hamburg.freifunk.net" port 10000'}, - }, - gateway05 = { - key = '84986658775167dff6918dc8e0529c4a4524cb1782849a80933ddb6d8c6bd3f5', - remotes = {'"gw05.hamburg.freifunk.net" port 10001'}, - }, - gateway06 = { - key = 'fb608aa75180ba88b4a3399a6498e68796d200afc1bfd275a0dcb903a31f39b6', - remotes = {'"gw06.hamburg.freifunk.net" port 10000'}, - }, - gateway08 = { - key = '67e9b215248ada3f4ffcc9db0bdf897128f6236a0d4e8d660762b77bebc914d4', - remotes = {'"gw08.hamburg.freifunk.net" port 10001'}, - }, - gateway09 = { - key = '5f483f6d26ac9106d86c0edcd08cf92c18caf67933719a394915ab809d1fb2bc', - remotes = {'"gw09.hamburg.freifunk.net" port 10001'}, - }, - gateway12 = { - key = 'facbbfb07525782fcde22b929f36ea508a295619eca35782003d9ca2dd3cc524', - remotes = {'"gw12.hamburg.freifunk.net" port 10001'}, + groups = { + backbone = { + limit = 2, + peers = { + gateway01 = { + key = 'cb09c68e2d2f7d374d47035cd532e0a60b8b3a7447aa5a7f76f4f15c8ffa9e58', + remotes = {'"gw01.hamburg.freifunk.net" port 10000'}, + }, + gateway02 = { + key = '462b4e21ab5eb0f9de687efd97252880c895ba55cc9cc0755a75347b0965b6e0', + remotes = {'"gw02.hamburg.freifunk.net" port 10000'}, + }, + gateway03 = { + key = 'e15295b86138ac490d611e4100f847ccfb7052d5091ded4659f25940be2c0546', + remotes = {'"gw03.hamburg.freifunk.net" port 10000'}, + }, + gateway04 = { + key = 'fca88dd58316f4ab50d2a697123dddf4d0ba3aad52ddeb0ba7835cdbbeb60dbf', + remotes = {'"gw04.hamburg.freifunk.net" port 10000'}, + }, + gateway05 = { + key = '84986658775167dff6918dc8e0529c4a4524cb1782849a80933ddb6d8c6bd3f5', + remotes = {'"gw05.hamburg.freifunk.net" port 10001'}, + }, + gateway06 = { + key = 'fb608aa75180ba88b4a3399a6498e68796d200afc1bfd275a0dcb903a31f39b6', + remotes = {'"gw06.hamburg.freifunk.net" port 10000'}, + }, + gateway08 = { + key = '67e9b215248ada3f4ffcc9db0bdf897128f6236a0d4e8d660762b77bebc914d4', + remotes = {'"gw08.hamburg.freifunk.net" port 10001'}, + }, + gateway09 = { + key = '5f483f6d26ac9106d86c0edcd08cf92c18caf67933719a394915ab809d1fb2bc', + remotes = {'"gw09.hamburg.freifunk.net" port 10001'}, + }, + gateway12 = { + key = 'facbbfb07525782fcde22b929f36ea508a295619eca35782003d9ca2dd3cc524', + remotes = {'"gw12.hamburg.freifunk.net" port 10001'}, + }, }, }, },