aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrubo77 <github@r.z11.de>2018-12-01 12:21:54 +0100
committerrubo77 <github@r.z11.de>2018-12-01 12:21:54 +0100
commit9f671b650d1679e33059fd17d0aeabdc064e6f08 (patch)
tree06c11d2ac445b4cb0aca13ee272f9dad883a3f16
parent8719555caa73d3887499b7f14fcb553f78f054e1 (diff)
add Freifunk Nord domain
-rw-r--r--domains/freifunk_nord.conf171
1 files changed, 171 insertions, 0 deletions
diff --git a/domains/freifunk_nord.conf b/domains/freifunk_nord.conf
new file mode 100644
index 0000000..064c070
--- /dev/null
+++ b/domains/freifunk_nord.conf
@@ -0,0 +1,171 @@
+{
+ domain_names = {
+ freifunk_nord = 'Freifunk Nord'
+ },
+
+ -- Must be the same of all nodes in one mesh domain
+ domain_seed = '718966471108bd550c01001f8a6f609c34507b6b8bcd5672232f5d9acddae8b4',
+
+ prefix4 = '10.187.0.0/16',
+ prefix6 = 'fd42:eb49:c0b5:4242::/64',
+
+ -- alt-esc example:
+ -- extra_prefixes6 = {
+ -- '2001:db8:9::/64',
+ -- '2001:db8:100::/60',
+ -- },
+
+ ntp_servers = {
+ 'fd42:eb49:c0b5:4242::fd01',
+ 'fd42:eb49:c0b5:4242::fd02',
+ 'fd42:eb49:c0b5:4242::fd03',
+ 'fd42:eb49:c0b5:4242::fd04',
+ 'fd42:eb49:c0b5:4242::fd05',
+ 'fd42:eb49:c0b5:4242::fd06',
+ 'fd42:eb49:c0b5:4242::fd20',
+ 'fd42:eb49:c0b5:4242::fd30',
+ },
+
+ -- The next node feature allows clients to always reach the node it is
+ -- connected to using a known IP address.
+ next_node = {
+ name = {
+ 'node.ffnord',
+ 'nextnode.ffnord',
+ 'knoten.ffnord',
+ 'nextnode',
+ 'nn',
+ },
+ -- anycast IPs of all nodes
+ ip4 = '10.187.127.254',
+ ip6 = 'fd42:eb49:c0b5:4242::ffff',
+
+ -- anycast MAC of all nodes (legacy)
+ mac = '36:f4:54:fc:e5:22'
+ },
+
+ ddhcpd = {
+ enabled = false,
+ range = "10.187.220.0/22",
+ broadcast = "10.187.255.255"
+ },
+
+ -- Wireless configuration for 2.4 GHz interfaces.
+ wifi24 = {
+ channel = 5,
+ -- ESSID used for client network.
+ ap = {
+ ssid = 'nord.freifunk.net',
+ -- disabled = true, (optional)
+ },
+ mesh = {
+ id = 'ffnord-mesh',
+ mcast_rate = 12000,
+ disabled = false,
+ },
+ },
+
+ -- Wireless configuration for 5 GHz interfaces.
+ -- This should be equal to the 2.4 GHz variant, except
+ -- for channel.
+ wifi5 = {
+ channel = 44,
+ ap = {
+ ssid = 'nord.freifunk.net',
+ },
+ mesh = {
+ id = 'ffnord-mesh',
+ mcast_rate = 12000,
+ disabled = false,
+ },
+ },
+
+ dns = {
+ cacheentries = 5000,
+ servers = {
+ 'fd42:eb49:c0b5:4242::fd00',
+ 'fd42:eb49:c0b5:4242::fd01',
+ 'fd42:eb49:c0b5:4242::fd02',
+ 'fd42:eb49:c0b5:4242::fd03',
+ 'fd42:eb49:c0b5:4242::fd04',
+ 'fd42:eb49:c0b5:4242::fd05',
+ 'fd42:eb49:c0b5:4242::fd06',
+ 'fd42:eb49:c0b5:4242::fd20',
+ },
+ },
+
+ mesh = {
+ -- (vxlan=false is legacy)
+ vxlan = false,
+ -- Options specific to the batman-adv routing protocol (optional)
+ batman_adv = {
+ -- Gateway selection class (optional)
+ -- The default class 20 is based on the link quality (TQ) only,
+ -- class 1 is calculated from both the TQ and the announced bandwidth
+ -- class 3 -> fast switch connection, chooses the gateway with the best
+ -- link quality but switches to another gateway
+ -- as soon as a better one is found
+ gw_sel_class = 3,
+ routing_algo = 'BATMAN_IV',
+ },
+ },
+
+ -- optional; Enables the mesh on the WAN port (true or false).
+ -- mesh_on_wan = true,
+
+ --optional; Enables the mesh on the LAN port (true or false).
+ -- mesh_on_lan = true,
+
+ mesh_vpn = {
+ mtu = 1312,
+
+ fastd = {
+ -- optional add ``null`` to the ``mesh_vpn.fastd.methods`` table if you want "Performance mode" as default
+ methods = {'salsa2012+umac'},
+ groups = {
+ backbone = {
+ -- Limit number of connected peers to reduce bandwidth.
+ limit = 1,
+ peers = {
+ ffnord_vpn0 = {
+ key = 'b89353ecefc044e793063b00e1d2a36a0a6758eb67d54cede8a4a2fb5365adcf',
+ remotes = {'ipv4 "0.gw.freifunknord.de" port 10050', 'ipv6 "0.gw.freifunknord.de" port 10050'},
+ },
+ ffnord_vpn1 = {
+ key = 'd23dd91241b741e7d18a19eeecaef46066b0c5777d134e338535bb6788ba8497',
+ remotes = {'ipv4 "1.gw.freifunknord.de" port 10050', 'ipv6 "1.gw.freifunknord.de" port 10050'},
+ },
+ ffnord_vpn2 = {
+ key = '8f5017ef742e0b6c4d8babbc5497e786990d23eb4b1fc51e790b06d08c46df54',
+ remotes = {'ipv4 "2.gw.freifunknord.de" port 10050', 'ipv6 "2.gw.freifunknord.de" port 10050'},
+ },
+ ffnord_vpn3 = {
+ key = 'f141ebfd40352df6862404d8ea2d4cdfdd56e4e586f6e711cf68f20522d0e075',
+ remotes = {'ipv4 "3.gw.freifunknord.de" port 10050', 'ipv6 "3.gw.freifunknord.de" port 10050'},
+ },
+ ffnord_vpn4 = {
+ key = '2bd5bb1f45f76b0c43d3ba145b162d4d08960b12f968e5a7abeb2b3400b64d05',
+ remotes = {'ipv4 "4.gw.freifunknord.de" port 10050', 'ipv6 "4.gw.freifunknord.de" port 10050'},
+ },
+ ffnord_vpn5 = {
+ key = '766c2380bb1118ccd7132ad0588a65f20242c9d1995869c1509b0e91f1fc79e0',
+ remotes = {'ipv4 "5.gw.freifunknord.de" port 10050', 'ipv6 "5.gw.freifunknord.de" port 10050'},
+ },
+ ffnord_vpn6 = {
+ key = '734913882d3592603d1c704d4e4133c12606192ebd1a49429e7d980a2ca121d0',
+ remotes = {'ipv4 "6.gw.freifunknord.de" port 10050', 'ipv6 "6.gw.freifunknord.de" port 10050'},
+ },
+ ffnord_vpn20 = {
+ key = 'e12ab3ae5955e1380cd18908edd18e006ba11fa471335ed7b2d2776401da58b0',
+ remotes = {'ipv4 "20.gw.freifunknord.de" port 10050', 'ipv6 "20.gw.freifunknord.de" port 10050'},
+ },
+ ffnord_vpn30 = {
+ key = 'eb4c8a1608608a28633833ce89e2e2b432ef08b538336486a0b6a4985f7cff6',
+ remotes = {'ipv4 "1.hypergw.freifunknord.de" port 10050', 'ipv6 "1.hypergw.freifunknord.de" port 10050'},
+ },
+ },
+ },
+ },
+ },
+ },
+}