Skip to content

Commit

Permalink
campfunk: init location
Browse files Browse the repository at this point in the history
  • Loading branch information
Lino committed May 19, 2024
1 parent d70ce44 commit 135ea90
Show file tree
Hide file tree
Showing 5 changed files with 345 additions and 0 deletions.
69 changes: 69 additions & 0 deletions locations/camp1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
location: camp1
location_nice: campfunk.freifunk.net#1
latitude: 12.00300
longitude: 13.00200
community: true

hosts:
- hostname: camp1-core
role: corerouter
model: "glinet_gl-mt1300"
wireless_profile: freifunk_default
packages__to_merge:
- "kmod-usb-net-rndis"
- "usb-modeswitch"

# camp1:
# --MGMT: 10.31.0.76/32
# --DHCP: 10.31.202.0/26
# --MESH: 10.31.202.64/30

ipv6_prefix: 2001:bf7:750:5e00::/56

networks:

- vid: 20
role: mesh
name: mesh_camp
prefix: 10.31.202.64/32
ipv6_subprefix: -20
mesh_ap: camp1-core
mesh_radio: 11a_standard
mesh_iface: mesh

- vid: 40
role: dhcp
name: dhcp
prefix: 10.31.202.0/26
ipv6_subprefix: -40
inbound_filtering: true
enforce_client_isolation: true
assignments:
camp1-core: 1

- vid: 42
role: mgmt
prefix: 10.31.0.76/32
gateway: 1
dns: 1
ipv6_subprefix: 0
assignments:
camp1-core: 1

- vid: 50
role: uplink
untagged: true
ifname: eth1

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

- role: tunnel
ifname: ts_wg1
mtu: 1280
prefix: 10.31.202.66/32
wireguard_port: 51821
69 changes: 69 additions & 0 deletions locations/camp2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
location: camp2
location_nice: campfunk.freifunk.net#2
latitude: 12.00300
longitude: 13.00300
community: true

hosts:
- hostname: camp2-core
role: corerouter
model: "glinet_gl-mt1300"
wireless_profile: freifunk_default
packages__to_merge:
- "kmod-usb-net-rndis"
- "usb-modeswitch"

# camp2
# --MGMT: 10.31.0.77/32
# --DHCP: 10.31.202.128/26
# --MESH: 10.31.202.68/30

ipv6_prefix: 2001:bf7:750:5800::/56

networks:

- vid: 20
role: mesh
name: mesh_camp
prefix: 10.31.202.68/32
ipv6_subprefix: -20
mesh_ap: camp2-core
mesh_radio: 11a_standard
mesh_iface: mesh

- vid: 40
role: dhcp
name: dhcp
prefix: 10.31.202.128/26
ipv6_subprefix: -40
inbound_filtering: true
enforce_client_isolation: true
assignments:
camp2-core: 1

- vid: 42
role: mgmt
prefix: 10.31.205.2/32
gateway: 1
dns: 1
ipv6_subprefix: 0
assignments:
camp2-core: 1

- vid: 50
role: uplink
untagged: true
ifname: eth1

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

- role: tunnel
ifname: ts_wg1
mtu: 1280
prefix: 10.31.202.70/32
wireguard_port: 51821
69 changes: 69 additions & 0 deletions locations/camp3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
location: camp3
location_nice: campfunk.freifunk.net#3
latitude: 12.00200
longitude: 13.00400
community: true

hosts:
- hostname: camp3-core
role: corerouter
model: "glinet_gl-mt1300"
wireless_profile: freifunk_default
packages__to_merge:
- "kmod-usb-net-rndis"
- "usb-modeswitch"

# camp3
# --MGMT: 10.31.0.137/32
# --DHCP: 10.31.202.192/26
# --MESH: 10.31.202.72/30

ipv6_prefix: 2001:bf7:750:5900::/56

networks:

- vid: 20
role: mesh
name: mesh_camp
prefix: 10.31.202.72/32
ipv6_subprefix: -20
mesh_ap: camp3-core
mesh_radio: 11a_standard
mesh_iface: mesh

- vid: 40
role: dhcp
name: dhcp
prefix: 10.31.202.192/26
ipv6_subprefix: -40
inbound_filtering: true
enforce_client_isolation: true
assignments:
camp3-core: 1

- vid: 42
role: mgmt
prefix: 10.31.0.137/32
gateway: 1
dns: 1
ipv6_subprefix: 0
assignments:
camp3-core: 1

- vid: 50
role: uplink
untagged: true
ifname: eth1

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

- role: tunnel
ifname: ts_wg1
mtu: 1280
prefix: 10.31.202.74/32
wireguard_port: 51821
69 changes: 69 additions & 0 deletions locations/camp4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
location: camp4
location_nice: campfunk.freifunk.net#4
latitude: 12.00100
longitude: 13.00300
community: true

hosts:
- hostname: camp4-core
role: corerouter
model: "glinet_gl-mt1300"
wireless_profile: freifunk_default
packages__to_merge:
- "kmod-usb-net-rndis"
- "usb-modeswitch"

# camp4
# --MGMT: 10.31.0.138/32
# --DHCP: 10.31.203.0/26
# --MESH: 10.31.202.76/30

ipv6_prefix: 2001:bf7:750:5c00::/56

networks:

- vid: 20
role: mesh
name: mesh_camp
prefix: 10.31.202.76/32
ipv6_subprefix: -20
mesh_ap: camp4-core
mesh_radio: 11a_standard
mesh_iface: mesh

- vid: 40
role: dhcp
name: dhcp
prefix: 10.31.203.0/26
ipv6_subprefix: -40
inbound_filtering: true
enforce_client_isolation: true
assignments:
camp4-core: 1

- vid: 42
role: mgmt
prefix: 10.31.0.138/32
gateway: 1
dns: 1
ipv6_subprefix: 0
assignments:
camp4-core: 1

- vid: 50
role: uplink
untagged: true
ifname: eth1

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

- role: tunnel
ifname: ts_wg1
mtu: 1280
prefix: 10.31.202.78/32
wireguard_port: 51821
69 changes: 69 additions & 0 deletions locations/camp5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
location: camp5
location_nice: campfunk.freifunk.net#5
latitude: 12.00100
longitude: 13.00200
community: true

hosts:
- hostname: camp5-core
role: corerouter
model: "glinet_gl-mt1300"
wireless_profile: freifunk_default
packages__to_merge:
- "kmod-usb-net-rndis"
- "usb-modeswitch"

# camp5
# --MGMT: 10.31.0.139/32
# --DHCP: 10.31.203.64/26
# --MESH: 10.31.202.80/30

ipv6_prefix: 2001:bf7:750:5d00::/56

networks:

- vid: 20
role: mesh
name: mesh_camp
prefix: 10.31.202.80/32
ipv6_subprefix: -20
mesh_ap: camp5-core
mesh_radio: 11a_standard
mesh_iface: mesh

- vid: 40
role: dhcp
name: dhcp
prefix: 10.31.203.64/26
ipv6_subprefix: -40
inbound_filtering: true
enforce_client_isolation: true
assignments:
camp5-core: 1

- vid: 42
role: mgmt
prefix: 10.31.0.139/32
gateway: 1
dns: 1
ipv6_subprefix: 0
assignments:
camp5-core: 1

- vid: 50
role: uplink
untagged: true
ifname: eth1

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

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

0 comments on commit 135ea90

Please sign in to comment.