Adjust fastd-mesh-vpn config to nested peer groups

This commit is contained in:
bdobe 2015-05-01 17:27:18 +02:00
parent 4e1d44c956
commit e12fa3f42b

View file

@ -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'},
},
},
},
},