Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Campfunk #839

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions locations/camp-base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
location: camp-base
location_nice: campfunk.freifunk.net
latitude: 12.00200
longitude: 13.00100
community: true

hosts:
- hostname: camp-base-core
role: corerouter
model: "mikrotik_wap-ac"
wireless_profile: freifunk_default

- hostname: camp-base-ap1
role: corerouter
model: "mikrotik_wap-ac"
wireless_profile: freifunk_default

# camp-base:
# --MGMT: 10.31.203.248/30
# --DHCP: 10.31.204.64/26
# --MESH: 10.31.203.252/30

ipv6_prefix: 2001:bf7:750:6700::/56

networks:

- vid: 20
role: mesh
name: mesh_camp
prefix: 10.31.203.252/32
ipv6_subprefix: -20
mesh_ap: camp-base-ap1
mesh_radio: 11a_standard
mesh_iface: mesh

- vid: 40
role: dhcp
name: dhcp
prefix: 10.31.204.64/26
ipv6_subprefix: -40
inbound_filtering: true
enforce_client_isolation: true
assignments:
camp-base-core: 1
camp-base-ap1: 2

- vid: 42
role: mgmt
prefix: 10.31.203.248/30
gateway: 1
dns: 1
ipv6_subprefix: 0
assignments:
camp-base-core: 1
camp-base-ap1: 2
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.0.77/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
Loading