From 92e4f069e22af0ca1166dc85f2c29291dd6a2248 Mon Sep 17 00:00:00 2001 From: Tom Jannek Date: Fri, 1 Nov 2024 17:50:51 +0100 Subject: [PATCH] location init: risi --- locations/hacrafu-risi.yml | 92 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 locations/hacrafu-risi.yml diff --git a/locations/hacrafu-risi.yml b/locations/hacrafu-risi.yml new file mode 100644 index 00000000..5e9c1f37 --- /dev/null +++ b/locations/hacrafu-risi.yml @@ -0,0 +1,92 @@ +--- + +location: hacrafu-risi +location_nice: Petershagen/Eggersdorf +latitude: 52.527648 +longitude: 13.785758 +contact_name: "Hacken Craften Funken e.V." +contact_nickname: "HaCraFu e.V." +contacts: + - "freifunk@hacrafu.de" + +hosts: + + - hostname: hacrafu-risi-core + role: corerouter + model: "cudy_ap3000outdoor-v1" + wireless_profile: freifunk_hacrafu + +ipv6_prefix: "2001:bf7:850:1f00::/56" +# dhcp 10.248.21.96/27 +# mesh5 10.248.20.161/32 +# mesh2 10.248.20.162/32 +# MGMT 10.248.20.163/32 +# TUNNEL 10.248.23.254/31 + +# Disable noping +# dhcp_no_ping: false + +networks: + + # MESH - 5 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_5g + prefix: 10.248.20.161/32 + ipv6_subprefix: -20 + mesh_ap: hacrafu-risi-core + mesh_radio: 11a_standard + mesh_iface: mesh + + # MESH - 2.4 GHz 802.11s + - vid: 21 + role: mesh + name: mesh_2g + prefix: 10.248.20.162/32 + ipv6_subprefix: -21 + mesh_ap: hacrafu-risi-core + mesh_radio: 11g_standard + mesh_iface: mesh + + # DHCP + - vid: 40 + role: dhcp + untagged: true + inbound_filtering: false + enforce_client_isolation: false + prefix: 10.248.21.96/27 + ipv6_subprefix: 0 + assignments: + hacrafu-risi-core: 1 + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.248.20.163/32 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + hacrafu-risi-core: 1 + + # Uplink + - vid: 50 + role: uplink + untagged: true + + - role: tunnel + ifname: ts_wg0 + mtu: 1280 + prefix: 10.248.23.254/32 + wireguard_port: 51820 + + - role: tunnel + ifname: ts_wg1 + mtu: 1280 + prefix: 10.248.23.255/32 + wireguard_port: 51821 + +# only place this ssh-keys +ssh_keys: + - comment: Tom + key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICIpPZouLOf+1WT9ylMa/9mX1dhLTy8W07Q8G5w7KKNz freifunk@hacrafu.de