|
| 1 | +--- |
| 2 | + |
| 3 | +location: hacrafu-eliche |
| 4 | +location_nice: Angerscheune e.V., Dorfpl. 1, 15370 Petershagen |
| 5 | +latitude: 52.52354918402503 |
| 6 | +longitude: 13.769907550925465 |
| 7 | +contact_name: "Hacken Craften Funken e.V." |
| 8 | +contact_nickname: "HaCraFu e.V." |
| 9 | +contacts: |
| 10 | + |
| 11 | + |
| 12 | +hosts: |
| 13 | + |
| 14 | + - hostname: hacrafu-eliche |
| 15 | + role: corerouter |
| 16 | + model: "cudy_wr3000-v1" |
| 17 | + wireless_profile: freifunk_hacrafu |
| 18 | + host__rclocal__to_merge: |
| 19 | + - | |
| 20 | + uci set network.vlan_40.ports='lan1:u lan2:u lan3:u' |
| 21 | + uci set network.vlan_50.ports='wan:u' |
| 22 | + uci commit network; reload_config |
| 23 | +
|
| 24 | +ipv6_prefix: "2001:bf7:850:4b00::/56" |
| 25 | + |
| 26 | +# dhcp 10.248.84.128/27 |
| 27 | +# mesh 10.248.76.126/31 |
| 28 | +# MGMT 10.248.77.90/32 |
| 29 | +# TUNNEL 10.248.84.160/31 |
| 30 | + |
| 31 | +networks: |
| 32 | + # MESH - 5 GHz 802.11s |
| 33 | + - vid: 20 |
| 34 | + role: mesh |
| 35 | + name: mesh_5g |
| 36 | + prefix: 10.248.76.126/32 |
| 37 | + ipv6_subprefix: -20 |
| 38 | + mesh_metric: 128 |
| 39 | + mesh_ap: hacrafu-eliche |
| 40 | + mesh_radio: 11a_standard |
| 41 | + mesh_iface: mesh |
| 42 | + |
| 43 | + # MESH - 2.4 GHz 802.11s |
| 44 | + - vid: 21 |
| 45 | + role: mesh |
| 46 | + name: mesh_2g |
| 47 | + prefix: 10.248.76.127/32 |
| 48 | + ipv6_subprefix: -21 |
| 49 | + mesh_metric: 256 |
| 50 | + mesh_metric_lqm: ['default 0.8'] |
| 51 | + mesh_ap: hacrafu-eliche |
| 52 | + mesh_radio: 11g_standard |
| 53 | + mesh_iface: mesh |
| 54 | + |
| 55 | + # DHCP |
| 56 | + - vid: 40 |
| 57 | + role: dhcp |
| 58 | + inbound_filtering: true |
| 59 | + enforce_client_isolation: true |
| 60 | + prefix: 10.248.84.128/27 |
| 61 | + ipv6_subprefix: 0 |
| 62 | + assignments: |
| 63 | + hacrafu-eliche: 1 |
| 64 | + |
| 65 | + # MGMT |
| 66 | + - vid: 42 |
| 67 | + role: mgmt |
| 68 | + prefix: 10.248.77.90/32 |
| 69 | + gateway: 1 |
| 70 | + dns: 1 |
| 71 | + ipv6_subprefix: 1 |
| 72 | + assignments: |
| 73 | + hacrafu-eliche: 1 |
| 74 | + |
| 75 | + # UPLINK |
| 76 | + - vid: 50 |
| 77 | + role: uplink |
| 78 | + # very weak, prefer mesh |
| 79 | + mesh_metric: 32768 |
| 80 | + |
| 81 | + - role: tunnel |
| 82 | + ifname: ts_wg0 |
| 83 | + mtu: 1280 |
| 84 | + prefix: 10.248.84.160/32 |
| 85 | + wireguard_port: 51820 |
| 86 | + |
| 87 | + - role: tunnel |
| 88 | + ifname: ts_wg1 |
| 89 | + mtu: 1280 |
| 90 | + prefix: 10.248.84.161/32 |
| 91 | + wireguard_port: 51821 |
| 92 | + |
| 93 | +# AP-id, wifi-channel, bandwidth, txpower |
| 94 | +location__channel_assignments_11a_standard__to_merge: |
| 95 | + hacrafu-eliche: 36-80 |
| 96 | + |
| 97 | +# AP-id, wifi-channel, bandwidth, txpower |
| 98 | +location__channel_assignments_11g_standard__to_merge: |
| 99 | + hacrafu-eliche: 13-40 |
| 100 | + |
| 101 | +# only place this ssh-keys |
| 102 | +ssh_keys: |
| 103 | + - comment: Tom |
| 104 | + key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICIpPZouLOf+1WT9ylMa/9mX1dhLTy8W07Q8G5w7KKNz [email protected] |
| 105 | + - comment: Bob |
| 106 | + key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEHrBKcGS+pyrN4MvRNqg7TPA2EsJ0cDCYLjrDRlTO6k HaCraFu [email protected] |
| 107 | + - comment: Peter |
| 108 | + key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFIzevq2nqgb0rBAEEcDEkAIu24aTiWIkem3+59a6h10 HaCraFu Petersilie |
0 commit comments