Skip to content

Commit 135ea90

Browse files
author
Lino
committed
campfunk: init location
1 parent d70ce44 commit 135ea90

File tree

5 files changed

+345
-0
lines changed

5 files changed

+345
-0
lines changed

locations/camp1.yml

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
location: camp1
3+
location_nice: campfunk.freifunk.net#1
4+
latitude: 12.00300
5+
longitude: 13.00200
6+
community: true
7+
8+
hosts:
9+
- hostname: camp1-core
10+
role: corerouter
11+
model: "glinet_gl-mt1300"
12+
wireless_profile: freifunk_default
13+
packages__to_merge:
14+
- "kmod-usb-net-rndis"
15+
- "usb-modeswitch"
16+
17+
# camp1:
18+
# --MGMT: 10.31.0.76/32
19+
# --DHCP: 10.31.202.0/26
20+
# --MESH: 10.31.202.64/30
21+
22+
ipv6_prefix: 2001:bf7:750:5e00::/56
23+
24+
networks:
25+
26+
- vid: 20
27+
role: mesh
28+
name: mesh_camp
29+
prefix: 10.31.202.64/32
30+
ipv6_subprefix: -20
31+
mesh_ap: camp1-core
32+
mesh_radio: 11a_standard
33+
mesh_iface: mesh
34+
35+
- vid: 40
36+
role: dhcp
37+
name: dhcp
38+
prefix: 10.31.202.0/26
39+
ipv6_subprefix: -40
40+
inbound_filtering: true
41+
enforce_client_isolation: true
42+
assignments:
43+
camp1-core: 1
44+
45+
- vid: 42
46+
role: mgmt
47+
prefix: 10.31.0.76/32
48+
gateway: 1
49+
dns: 1
50+
ipv6_subprefix: 0
51+
assignments:
52+
camp1-core: 1
53+
54+
- vid: 50
55+
role: uplink
56+
untagged: true
57+
ifname: eth1
58+
59+
- role: tunnel
60+
ifname: ts_wg0
61+
mtu: 1280
62+
prefix: 10.31.202.65/32
63+
wireguard_port: 51820
64+
65+
- role: tunnel
66+
ifname: ts_wg1
67+
mtu: 1280
68+
prefix: 10.31.202.66/32
69+
wireguard_port: 51821

locations/camp2.yml

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
location: camp2
3+
location_nice: campfunk.freifunk.net#2
4+
latitude: 12.00300
5+
longitude: 13.00300
6+
community: true
7+
8+
hosts:
9+
- hostname: camp2-core
10+
role: corerouter
11+
model: "glinet_gl-mt1300"
12+
wireless_profile: freifunk_default
13+
packages__to_merge:
14+
- "kmod-usb-net-rndis"
15+
- "usb-modeswitch"
16+
17+
# camp2
18+
# --MGMT: 10.31.0.77/32
19+
# --DHCP: 10.31.202.128/26
20+
# --MESH: 10.31.202.68/30
21+
22+
ipv6_prefix: 2001:bf7:750:5800::/56
23+
24+
networks:
25+
26+
- vid: 20
27+
role: mesh
28+
name: mesh_camp
29+
prefix: 10.31.202.68/32
30+
ipv6_subprefix: -20
31+
mesh_ap: camp2-core
32+
mesh_radio: 11a_standard
33+
mesh_iface: mesh
34+
35+
- vid: 40
36+
role: dhcp
37+
name: dhcp
38+
prefix: 10.31.202.128/26
39+
ipv6_subprefix: -40
40+
inbound_filtering: true
41+
enforce_client_isolation: true
42+
assignments:
43+
camp2-core: 1
44+
45+
- vid: 42
46+
role: mgmt
47+
prefix: 10.31.205.2/32
48+
gateway: 1
49+
dns: 1
50+
ipv6_subprefix: 0
51+
assignments:
52+
camp2-core: 1
53+
54+
- vid: 50
55+
role: uplink
56+
untagged: true
57+
ifname: eth1
58+
59+
- role: tunnel
60+
ifname: ts_wg0
61+
mtu: 1280
62+
prefix: 10.31.202.69/32
63+
wireguard_port: 51820
64+
65+
- role: tunnel
66+
ifname: ts_wg1
67+
mtu: 1280
68+
prefix: 10.31.202.70/32
69+
wireguard_port: 51821

locations/camp3.yml

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
location: camp3
3+
location_nice: campfunk.freifunk.net#3
4+
latitude: 12.00200
5+
longitude: 13.00400
6+
community: true
7+
8+
hosts:
9+
- hostname: camp3-core
10+
role: corerouter
11+
model: "glinet_gl-mt1300"
12+
wireless_profile: freifunk_default
13+
packages__to_merge:
14+
- "kmod-usb-net-rndis"
15+
- "usb-modeswitch"
16+
17+
# camp3
18+
# --MGMT: 10.31.0.137/32
19+
# --DHCP: 10.31.202.192/26
20+
# --MESH: 10.31.202.72/30
21+
22+
ipv6_prefix: 2001:bf7:750:5900::/56
23+
24+
networks:
25+
26+
- vid: 20
27+
role: mesh
28+
name: mesh_camp
29+
prefix: 10.31.202.72/32
30+
ipv6_subprefix: -20
31+
mesh_ap: camp3-core
32+
mesh_radio: 11a_standard
33+
mesh_iface: mesh
34+
35+
- vid: 40
36+
role: dhcp
37+
name: dhcp
38+
prefix: 10.31.202.192/26
39+
ipv6_subprefix: -40
40+
inbound_filtering: true
41+
enforce_client_isolation: true
42+
assignments:
43+
camp3-core: 1
44+
45+
- vid: 42
46+
role: mgmt
47+
prefix: 10.31.0.137/32
48+
gateway: 1
49+
dns: 1
50+
ipv6_subprefix: 0
51+
assignments:
52+
camp3-core: 1
53+
54+
- vid: 50
55+
role: uplink
56+
untagged: true
57+
ifname: eth1
58+
59+
- role: tunnel
60+
ifname: ts_wg0
61+
mtu: 1280
62+
prefix: 10.31.202.73/32
63+
wireguard_port: 51820
64+
65+
- role: tunnel
66+
ifname: ts_wg1
67+
mtu: 1280
68+
prefix: 10.31.202.74/32
69+
wireguard_port: 51821

locations/camp4.yml

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
location: camp4
3+
location_nice: campfunk.freifunk.net#4
4+
latitude: 12.00100
5+
longitude: 13.00300
6+
community: true
7+
8+
hosts:
9+
- hostname: camp4-core
10+
role: corerouter
11+
model: "glinet_gl-mt1300"
12+
wireless_profile: freifunk_default
13+
packages__to_merge:
14+
- "kmod-usb-net-rndis"
15+
- "usb-modeswitch"
16+
17+
# camp4
18+
# --MGMT: 10.31.0.138/32
19+
# --DHCP: 10.31.203.0/26
20+
# --MESH: 10.31.202.76/30
21+
22+
ipv6_prefix: 2001:bf7:750:5c00::/56
23+
24+
networks:
25+
26+
- vid: 20
27+
role: mesh
28+
name: mesh_camp
29+
prefix: 10.31.202.76/32
30+
ipv6_subprefix: -20
31+
mesh_ap: camp4-core
32+
mesh_radio: 11a_standard
33+
mesh_iface: mesh
34+
35+
- vid: 40
36+
role: dhcp
37+
name: dhcp
38+
prefix: 10.31.203.0/26
39+
ipv6_subprefix: -40
40+
inbound_filtering: true
41+
enforce_client_isolation: true
42+
assignments:
43+
camp4-core: 1
44+
45+
- vid: 42
46+
role: mgmt
47+
prefix: 10.31.0.138/32
48+
gateway: 1
49+
dns: 1
50+
ipv6_subprefix: 0
51+
assignments:
52+
camp4-core: 1
53+
54+
- vid: 50
55+
role: uplink
56+
untagged: true
57+
ifname: eth1
58+
59+
- role: tunnel
60+
ifname: ts_wg0
61+
mtu: 1280
62+
prefix: 10.31.202.77/32
63+
wireguard_port: 51820
64+
65+
- role: tunnel
66+
ifname: ts_wg1
67+
mtu: 1280
68+
prefix: 10.31.202.78/32
69+
wireguard_port: 51821

locations/camp5.yml

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
location: camp5
3+
location_nice: campfunk.freifunk.net#5
4+
latitude: 12.00100
5+
longitude: 13.00200
6+
community: true
7+
8+
hosts:
9+
- hostname: camp5-core
10+
role: corerouter
11+
model: "glinet_gl-mt1300"
12+
wireless_profile: freifunk_default
13+
packages__to_merge:
14+
- "kmod-usb-net-rndis"
15+
- "usb-modeswitch"
16+
17+
# camp5
18+
# --MGMT: 10.31.0.139/32
19+
# --DHCP: 10.31.203.64/26
20+
# --MESH: 10.31.202.80/30
21+
22+
ipv6_prefix: 2001:bf7:750:5d00::/56
23+
24+
networks:
25+
26+
- vid: 20
27+
role: mesh
28+
name: mesh_camp
29+
prefix: 10.31.202.80/32
30+
ipv6_subprefix: -20
31+
mesh_ap: camp5-core
32+
mesh_radio: 11a_standard
33+
mesh_iface: mesh
34+
35+
- vid: 40
36+
role: dhcp
37+
name: dhcp
38+
prefix: 10.31.203.64/26
39+
ipv6_subprefix: -40
40+
inbound_filtering: true
41+
enforce_client_isolation: true
42+
assignments:
43+
camp5-core: 1
44+
45+
- vid: 42
46+
role: mgmt
47+
prefix: 10.31.0.139/32
48+
gateway: 1
49+
dns: 1
50+
ipv6_subprefix: 0
51+
assignments:
52+
camp5-core: 1
53+
54+
- vid: 50
55+
role: uplink
56+
untagged: true
57+
ifname: eth1
58+
59+
- role: tunnel
60+
ifname: ts_wg0
61+
mtu: 1280
62+
prefix: 10.31.202.81/32
63+
wireguard_port: 51820
64+
65+
- role: tunnel
66+
ifname: ts_wg1
67+
mtu: 1280
68+
prefix: 10.31.202.82/32
69+
wireguard_port: 51821

0 commit comments

Comments
 (0)