From d11e0cb73e75d8ba9208145eb7dcb085a043d05d Mon Sep 17 00:00:00 2001 From: Tom Jannek Date: Fri, 1 Nov 2024 17:50:14 +0100 Subject: [PATCH] location init: pici --- locations/hacrafu-pici.yml | 92 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 locations/hacrafu-pici.yml diff --git a/locations/hacrafu-pici.yml b/locations/hacrafu-pici.yml new file mode 100644 index 00000000..3f66ff94 --- /dev/null +++ b/locations/hacrafu-pici.yml @@ -0,0 +1,92 @@ +--- + +location: hacrafu-pici +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-pici-core + role: corerouter + model: "cudy_ap3000outdoor-v1" + wireless_profile: freifunk_hacrafu + openwrt_version: 24.10-SNAPSHOT + +ipv6_prefix: "2001:bf7:850:1e00::/56" +# dhcp 10.248.21.64/27 +# mesh5 10.31.42.109/32 +# mesh2 10.31.42.110/32 +# MGMT 10.31.42.111/32 +# TUNNEL 10.248.23.252/31 + +# Disable noping +# dhcp_no_ping: false + +networks: + + # MESH - 5 GHz 802.11s + - vid: 20 + role: mesh + name: mesh_5g + prefix: 10.31.42.109/32 + ipv6_subprefix: -20 + mesh_ap: hacrafu-pici-core + mesh_radio: 11a_standard + mesh_iface: mesh + + # MESH - 2.4 GHz 802.11s + - vid: 21 + role: mesh + name: mesh_2g + prefix: 10.31.42.110/32 + ipv6_subprefix: -21 + mesh_ap: hacrafu-pici-core + mesh_radio: 11g_standard + mesh_iface: mesh + + # DHCP + - vid: 40 + role: dhcp + inbound_filtering: false + enforce_client_isolation: false + prefix: 10.248.21.64/27 + ipv6_subprefix: 0 + assignments: + hacrafu-pici-core: 1 + + # MGMT + - vid: 42 + role: mgmt + prefix: 10.31.42.111/32 + gateway: 1 + dns: 1 + ipv6_subprefix: 1 + assignments: + hacrafu-pici-core: 1 + + # Uplink + - vid: 50 + role: uplink + untagged: true + + - role: tunnel + ifname: ts_wg0 + mtu: 1280 + prefix: 10.248.23.252/32 + wireguard_port: 51820 + + - role: tunnel + ifname: ts_wg1 + mtu: 1280 + prefix: 10.248.23.253/32 + wireguard_port: 51821 + +# only place this ssh-keys +ssh_keys: + - comment: Tom + key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICIpPZouLOf+1WT9ylMa/9mX1dhLTy8W07Q8G5w7KKNz freifunk@hacrafu.de