From 347631bf77435234a621d443b37d1daa6e8ee315 Mon Sep 17 00:00:00 2001 From: Bastian Date: Wed, 17 Jan 2018 13:25:54 +0100 Subject: [PATCH] Domain Config completed --- domains/ffrgb_cty.conf | 12 ++++ domains/ffrgb_test.conf | 121 ++++++++++++++++++++++++++++++++++++++ domains/ffrgb_umland.conf | 121 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 254 insertions(+) create mode 100644 domains/ffrgb_test.conf create mode 100644 domains/ffrgb_umland.conf diff --git a/domains/ffrgb_cty.conf b/domains/ffrgb_cty.conf index eeff4de..66f6c91 100644 --- a/domains/ffrgb_cty.conf +++ b/domains/ffrgb_cty.conf @@ -60,9 +60,15 @@ gwpri = { --[[ primary ]] key = '86a4dcdbaba87fe30da03cc398a083d7a0725c44dac733b583515b188fdc63dd', remotes = { + 'ipv6 "gw11.ffrgb.net" port 10010', + 'ipv6 "gw11.ffrgb.net" port 10011', + 'ipv6 "gw11.ffrgb.net" port 10012', 'ipv4 "gw11.ffrgb.net" port 10010', 'ipv4 "gw11.ffrgb.net" port 10011', 'ipv4 "gw11.ffrgb.net" port 10012', + 'ipv6 "gw11.regensburg.freifunk.net" port 10010', + 'ipv6 "gw11.regensburg.freifunk.net" port 10011', + 'ipv6 "gw11.regensburg.freifunk.net" port 10012', 'ipv4 "gw11.regensburg.freifunk.net" port 10010', 'ipv4 "gw11.regensburg.freifunk.net" port 10011', 'ipv4 "gw11.regensburg.freifunk.net" port 10012', @@ -71,9 +77,15 @@ gwsec = { --[[ coldstandby ]] key = '0000000000000000000000000000000000000000000000000000000000000000', remotes = { + 'ipv6 "gw12.ffrgb.net" port 10010', + 'ipv6" gw12.ffrgb.net" port 10011', + 'ipv6 "gw12.ffrgb.net" port 10012', 'ipv4 "gw12.ffrgb.net" port 10010', 'ipv4 "gw12.ffrgb.net" port 10011', 'ipv4 "gw12.ffrgb.net" port 10012', + 'ipv6 "gw12.regensburg.freifunk.net" port 10010', + 'ipv6 "gw12.regensburg.freifunk.net" port 10011', + 'ipv6 "gw12.regensburg.freifunk.net" port 10012', 'ipv4 "gw12.regensburg.freifunk.net" port 10010', 'ipv4 "gw12.regensburg.freifunk.net" port 10011', 'ipv4 "gw12.regensburg.freifunk.net" port 10012', diff --git a/domains/ffrgb_test.conf b/domains/ffrgb_test.conf new file mode 100644 index 0000000..ff9d22a --- /dev/null +++ b/domains/ffrgb_test.conf @@ -0,0 +1,121 @@ +{ + domain_name = 'Testumgebung', + domain_code = 'ffrgb_test', + domain_seed = 'bcd0ceca2c68b5b9a5975156a0ec0a04aebe3300d9928a04dc57001cc96db252', + + opkg = { + --[[ old + openwrt = 'http://downloads.openwrt.org/%n/%v/%S/packages', + ]] + lede = 'http://downloads.lede-project.org/snapshots/packages/%A', + }, + + prefix4 = '10.90.96.0/19', + prefix6 = 'fdef:f30f:1337:cafe::/64', + + ntp_servers = {'1.ntp.services.ffrgb','2.ntp.services.ffrgb'}, + + wifi24 = { + channel = 1, + ap = { + ssid = 'regensburg.freifunk.net', + }, + ibss = { + ssid = 'mesh.ffrgb_test', + bssid = '02:0E:8E:1E:61:03', + mcast_rate = 12000, + }, + }, + + wifi5 = { + channel = 44, + ap = { + ssid = 'regensburg.freifunk.net', + }, + ibss = { + ssid = 'mesh.ffrgb_test', + bssid = '02:0E:8E:1E:61:03', + mcast_rate = 12000, + } + }, + + dns = { + cacheentries = 500, + servers = { 'fdef:f30f:1337:cafe::11', }, + }, + + next_node = { + ip4 = '10.90.96.1', + ip6 = 'fdef:f30f:1337:cafe::1', + mac = '16:41:95:40:f7:03', + }, + + mesh_vpn = { + mtu = 1280, + fastd = { + groups = { + backbone = { + limit = 1, + peers = { + gwpri = { --[[ primary ]] + key = '377e0246271bfbf4c99c2d156ee0eb77c16bb5629841fde507cfab6760162b61', + remotes = { + 'ipv6 "gw31.ffrgb.net" port 10010', + 'ipv6 "gw31.ffrgb.net" port 10011', + 'ipv6 "gw31.ffrgb.net" port 10012', + 'ipv4 "gw31.ffrgb.net" port 10010', + 'ipv4 "gw31.ffrgb.net" port 10011', + 'ipv4 "gw31.ffrgb.net" port 10012', + 'ipv6 "gw31.regensburg.freifunk.net" port 10010', + 'ipv6 "gw31.regensburg.freifunk.net" port 10011', + 'ipv6 "gw31.regensburg.freifunk.net" port 10012', + 'ipv4 "gw31.regensburg.freifunk.net" port 10010', + 'ipv4 "gw31.regensburg.freifunk.net" port 10011', + 'ipv4 "gw31.regensburg.freifunk.net" port 10012', + }, + }, + gwsec = { --[[ coldstandby ]] + key = '0000000000000000000000000000000000000000000000000000000000000000', + remotes = { + 'ipv6 "gw32.ffrgb.net" port 10010', + 'ipv6 "gw32.ffrgb.net" port 10011', + 'ipv6 "gw32.ffrgb.net" port 10012', + 'ipv4 "gw32.ffrgb.net" port 10010', + 'ipv4 "gw32.ffrgb.net" port 10011', + 'ipv4 "gw32.ffrgb.net" port 10012', + 'ipv6 "gw32.regensburg.freifunk.net" port 10010', + 'ipv6 "gw32.regensburg.freifunk.net" port 10011', + 'ipv6 "gw32.regensburg.freifunk.net" port 10012', + 'ipv4 "gw32.regensburg.freifunk.net" port 10010', + 'ipv4 "gw32.regensburg.freifunk.net" port 10011', + 'ipv4 "gw32.regensburg.freifunk.net" port 10012', + }, + }, + }, + }, + }, + }, + bandwidth_limit = { + enabled = false, + ingress = 12000, + egress = 1200, + }, + }, + + autoupdater = { + enabled = 1, + branches = { + stable = { + mirrors = { + 'http://fw.services.ffrgb/firmware-ng/stable/sysupgrade/', + }, + }, + experimental = { + mirrors = { + 'http://fw.services.ffrgb/firmware-ng/experimental/sysupgrade/', + }, + }, + }, + }, +} +-- vim: set ft=lua:ts=2:sw=2:et diff --git a/domains/ffrgb_umland.conf b/domains/ffrgb_umland.conf new file mode 100644 index 0000000..9502095 --- /dev/null +++ b/domains/ffrgb_umland.conf @@ -0,0 +1,121 @@ +{ + domain_name = 'City', + domain_code = 'ffrgb_uml', + domain_seed = 'f3d54e3dfc4108dd3356664bbab4baef3b2920ad943c27edce4b284a68e776fd', + + opkg = { + --[[ old + openwrt = 'http://downloads.openwrt.org/%n/%v/%S/packages', + ]] + lede = 'http://downloads.lede-project.org/snapshots/packages/%A', + }, + + prefix4 = '10.90.64.0/19', + prefix6 = 'fdef:f20f:1337:cafe::/64', + + ntp_servers = {'1.ntp.services.ffrgb','2.ntp.services.ffrgb'}, + + wifi24 = { + channel = 1, + ap = { + ssid = 'regensburg.freifunk.net', + }, + ibss = { + ssid = 'mesh.ffrgb_uml', + bssid = '02:0E:8E:1E:61:02', + mcast_rate = 12000, + }, + }, + + wifi5 = { + channel = 44, + ap = { + ssid = 'regensburg.freifunk.net', + }, + ibss = { + ssid = 'mesh.ffrgb_uml', + bssid = '02:0E:8E:1E:61:02', + mcast_rate = 12000, + } + }, + + dns = { + cacheentries = 500, + servers = { 'fdef:f20f:1337:cafe::11', }, + }, + + next_node = { + ip4 = '10.90.64.1', + ip6 = 'fdef:f20f:1337:cafe::1', + mac = '16:41:95:40:f7:02', + }, + + mesh_vpn = { + mtu = 1280, + fastd = { + groups = { + backbone = { + limit = 1, + peers = { + gwpri = { --[[ primary ]] + key = '0dd861f1725bb5562f96fec8a906440c1965d1b1f8a88663dea834e523d788ea', + remotes = { + 'ipv6 "gw21.ffrgb.net" port 10010', + 'ipv6 "gw21.ffrgb.net" port 10011', + 'ipv6 "gw21.ffrgb.net" port 10012', + 'ipv4 "gw21.ffrgb.net" port 10010', + 'ipv4 "gw21.ffrgb.net" port 10011', + 'ipv4 "gw21.ffrgb.net" port 10012', + 'ipv6 "gw21.regensburg.freifunk.net" port 10010', + 'ipv6 "gw21.regensburg.freifunk.net" port 10011', + 'ipv6 "gw21.regensburg.freifunk.net" port 10012', + 'ipv4 "gw21.regensburg.freifunk.net" port 10010', + 'ipv4 "gw21.regensburg.freifunk.net" port 10011', + 'ipv4 "gw21.regensburg.freifunk.net" port 10012', + }, + }, + gwsec = { --[[ coldstandby ]] + key = '0000000000000000000000000000000000000000000000000000000000000000', + remotes = { + 'ipv6 "gw22.ffrgb.net" port 10010', + 'ipv6 "gw22.ffrgb.net" port 10011', + 'ipv6 "gw22.ffrgb.net" port 10012', + 'ipv4 "gw22.ffrgb.net" port 10010', + 'ipv4 "gw22.ffrgb.net" port 10011', + 'ipv4 "gw22.ffrgb.net" port 10012', + 'ipv6 "gw22.regensburg.freifunk.net" port 10010', + 'ipv6 "gw22.regensburg.freifunk.net" port 10011', + 'ipv6 "gw22.regensburg.freifunk.net" port 10012', + 'ipv4 "gw22.regensburg.freifunk.net" port 10010', + 'ipv4 "gw22.regensburg.freifunk.net" port 10011', + 'ipv4 "gw22.regensburg.freifunk.net" port 10012', + }, + }, + }, + }, + }, + }, + bandwidth_limit = { + enabled = false, + ingress = 12000, + egress = 1200, + }, + }, + + autoupdater = { + enabled = 1, + branches = { + stable = { + mirrors = { + 'http://fw.services.ffrgb/firmware-ng/stable/sysupgrade/', + }, + }, + experimental = { + mirrors = { + 'http://fw.services.ffrgb/firmware-ng/experimental/sysupgrade/', + }, + }, + }, + }, +} +-- vim: set ft=lua:ts=2:sw=2:et