Skip to content

Commit

Permalink
tempelwg: add new location
Browse files Browse the repository at this point in the history
  • Loading branch information
PolynomialDivision authored and Noki committed Sep 22, 2024
1 parent ca88560 commit 2c345b5
Showing 1 changed file with 160 additions and 0 deletions.
160 changes: 160 additions & 0 deletions locations/tempelwg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
---
location: tempelwg
location_nice: U-Alt Tempelhof
latitude: 52.465551
longitude: 13.38598
contacts:
- "@nick:matrix.riotcat.org"

hosts:
- hostname: tempelwg-core
role: corerouter
model: "dlink_covr-x1860-a1"
mac_override: {eth0: a8:63:7d:db:59:cb}
wireless_profile: tempelwg

- hostname: tempelwg-ap-tini
role: ap
model: "totolink_a7000r"
wireless_profile: tempelwg

ipv6_prefix: "2001:bf7:810:1500::/56"

dhcp_no_ping: false

# Reserved Prefixes:
# 10.248.17.0/26, 2001:bf7:810:1500::/56
# MGMT: 10.248.17.0/28
# MESH: 10.248.17.16/28
# DHCP: 10.248.17.32/27

networks:

# MESH - 5 GHz 802.11s
- vid: 20
role: mesh
name: mesh_5g
prefix: 10.248.17.16/32
ipv6_subprefix: -20
mesh_ap: tempelwg-core
mesh_radio: 11a_standard
mesh_iface: mesh

# MESH - 2.4 GHz 802.11s
- vid: 21
role: mesh
name: mesh_2g
prefix: 10.248.17.17/32
ipv6_subprefix: -21
# make mesh_metric(s) for 2GHz worse than 5GHz
mesh_metric: 1024
mesh_metric_lqm: ['default 0.8']
mesh_ap: tempelwg-core
mesh_radio: 11g_standard
mesh_iface: mesh

- vid: 42
role: mgmt
prefix: 10.248.17.0/28
gateway: 1
dns: 1
ipv6_subprefix: 1
assignments:
tempelwg-core: 1
tempelwg-ap-tini: 2

- vid: 40
role: dhcp
prefix: 10.248.17.32/27
ipv6_subprefix: 0
inbound_filtering: true
enforce_client_isolation: true
assignments:
tempelwg-core: 1

- vid: 50
name: prdhcp
role: uplink
untagged: true

- role: tunnel
ifname: ts_wg0
mtu: 1280
prefix: 10.248.17.18/32
wireguard_port: 51820

- role: tunnel
ifname: ts_wg1
mtu: 1280
prefix: 10.248.17.19/32
wireguard_port: 51821

location__channel_assignments_11g_standard__to_merge:
tempelwg-core: 13-20
tempelwg-ap-tini: 1-20

location__channel_assignments_11a_standard__to_merge:
tempelwg-core: 36-40
tempelwg-ap-tini: 48-40

location__wireless_profiles__to_merge:
- name: tempelwg
devices:
- radio: 11a_standard
legacy_rates: false
country: DE

- radio: 11g_standard
legacy_rates: false
country: DE

ifaces:
- mode: ap
ssid: berlin.freifunk.net
encryption: none
network: dhcp
radio: [11a_standard, 11g_standard]
ifname_hint: ff
owe_transition_ifname_hint: ffowe

- mode: ap
ssid: berlin.freifunk.net OWE
hidden: true
encryption: owe
network: dhcp
radio: [11a_standard, 11g_standard]
ifname_hint: ffowe
owe_transition_ifname_hint: ff
ieee80211w: 1

- mode: ap
ssid: o2-WLAN68
encryption: sae-mixed
key: 'file:/root/wifi_pass'
network: prdhcp
radio: [11a_standard, 11g_standard]
ifname_hint: pr

- mode: mesh
mesh_id: Mesh-Freifunk-Berlin
radio: [11a_standard, 11g_standard]
mcast_rate: 12000
mesh_fwding: 0
ifname_hint: mesh

dns_servers:
# quad9
- 9.9.9.9
- 149.112.112.112
- 2620:fe::fe
- 2620:fe::9
# cloudflare
- 1.1.1.1
- 1.0.0.1
- 2606:4700:4700::1111
- 2606:4700:4700::1001

# only place this ssh-keys
ssh_keys:
- comment: Nick
key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJrryeA5Nj8TJzX0hjujDQvrrBRpDFjhGJKn297zhoij [email protected]

0 comments on commit 2c345b5

Please sign in to comment.