Skip to content

Commit

Permalink
Add vpn6 and minor fixes v2021.1.2.1 (#48)
Browse files Browse the repository at this point in the history
* Use spaces instead of tabs/spaces mix in conf files

* ffil: switch wifi24 channel to 1

* Add vpn6

* Use unique domain seed for ffen, ffthw and ffwsee
  • Loading branch information
bobidle authored Mar 10, 2024
1 parent c70558b commit 20b77b0
Show file tree
Hide file tree
Showing 8 changed files with 487 additions and 475 deletions.
126 changes: 64 additions & 62 deletions domains/ffef_v1.conf
Original file line number Diff line number Diff line change
@@ -1,72 +1,74 @@
{
domain_code='ffef_v1',
domain_names={
ffef_v1='Freifunk Erfurt'
},
domain_code = 'ffef_v1',
domain_names = {
ffef_v1 = 'Freifunk Erfurt'
},

-- more domain specific config follows here
-- needed since v2018
-- 32 byte random data in hexadecimal encoding
-- This data must be unique among all sites and domains!
-- Can be generated using: echo $(hexdump -v -n 32 -e '1/1 "%02x"' </dev/urandom)
domain_seed = '394bf993cd0fbb63a9bc834207f36cc99df532c0e76d88bd6505642fcbe3ffcf',
-- 32 byte random data in hexadecimal encoding
-- This data must be unique among all sites and domains!
-- Can be generated using: echo $(hexdump -v -n 32 -e '1/1 "%02x"' </dev/urandom)
domain_seed = '394bf993cd0fbb63a9bc834207f36cc99df532c0e76d88bd6505642fcbe3ffcf',

-- more domain specific config follows here
prefix4 = '10.99.0.0/18',
prefix6 = 'fd0a:d928:b30d:4::/64',
-- more domain specific config follows here
prefix4 = '10.99.0.0/18',
prefix6 = 'fd0a:d928:b30d:4::/64',

wifi24 = {
channel = 1,
ap = {
ssid = 'Freifunk Erfurt',
},
mesh = {
id = 'mesh.erfurt.freifunk.net',
mcast_rate = 12000,
},
},
wifi5 = {
channel = 44,
ap = {
ssid = 'Freifunk Erfurt (5GHz)',
},
mesh = {
id = 'mesh.erfurt.freifunk.net',
mcast_rate = 12000,
},
},
wifi24 = {
channel = 1,
ap = {
ssid = 'Freifunk Erfurt',
},
mesh = {
id = 'mesh.erfurt.freifunk.net',
mcast_rate = 12000,
},
},
wifi5 = {
channel = 44,
ap = {
ssid = 'Freifunk Erfurt (5GHz)',
},
mesh = {
id = 'mesh.erfurt.freifunk.net',
mcast_rate = 12000,
},
},

mesh = {
vxlan = false,
batman_adv = {
gw_sel_class = 2500,
routing_algo = 'BATMAN_IV',
},
},
mesh = {
vxlan = false,
batman_adv = {
gw_sel_class = 2500,
routing_algo = 'BATMAN_IV',
},
},

mesh_vpn = {
mesh_vpn = {

mtu = 1426,
mtu = 1426,

fastd = {
methods = {'null+salsa2012+umac'},
groups = {
backbone = {
limit = 1,
peers = {
vpn5 = {
key = '880ca400d528a9a39c761a49fe1a54fa01a630a99b6217216bb126fecb4f50a1',
remotes = {'ipv4 "vpn5.erfurt.freifunk.net" port 1234'},
},
},
},
},
},
},
fastd = {
methods = {'null+salsa2012+umac'},
groups = {
backbone = {
limit = 1,
peers = {
vpn5 = {
key = '880ca400d528a9a39c761a49fe1a54fa01a630a99b6217216bb126fecb4f50a1',
remotes = {'ipv4 "vpn5.erfurt.freifunk.net" port 1234'},
},
vpn6 = {
key = '643209311edccd45058f470402faa0abf4020e36c0024f0b9c8b0740c97cd69c',
remotes = {'ipv4 "vpn6.erfurt.freifunk.net" port 1234'},
}
},
},
},
},
},

next_node = {
ip4 = '10.99.0.1',
ip6 = 'fd0a:d928:b30d:4::1',
mac = 'ca:ff:ee:ba:be:01',
},
next_node = {
ip4 = '10.99.0.1',
ip6 = 'fd0a:d928:b30d:4::1',
mac = 'ca:ff:ee:ba:be:01',
},
}
127 changes: 65 additions & 62 deletions domains/ffen_v1.conf
Original file line number Diff line number Diff line change
@@ -1,71 +1,74 @@
{
domain_code = 'ffen_v1',
domain_names={
ffen_v1='Freifunk EA-WAK',
},

-- needed since v2018
-- 32 byte random data in hexadecimal encoding
-- This data must be unique among all sites and domains!
-- Can be generated using: echo $(hexdump -v -n 32 -e '1/1 "%02x"' </dev/urandom)
domain_seed = '394bf993cd0fbb63a9bc834207f36cc99df532c0e76d88bd6505642fcbe3ffcf',
domain_code = 'ffen_v1',
domain_names = {
ffen_v1 = 'Freifunk EA-WAK',
},

-- more domain specific config follows here
prefix4 = '10.99.0.0/18',
prefix6 = 'fd0a:d928:b30d:4::/64',
-- 32 byte random data in hexadecimal encoding
-- This data must be unique among all sites and domains!
-- Can be generated using: echo $(hexdump -v -n 32 -e '1/1 "%02x"' </dev/urandom)
domain_seed = '9c0c83ec4e7037ff2c691856011eb9e0ee976a1f267a7393937f087782a7c70b',

wifi24 = {
channel = 1,
ap = {
ssid = 'Freifunk EA-WAK',
},
mesh = {
id = 'mesh.ffea_wak.freifunk.net',
mcast_rate = 12000,
},
},
wifi5 = {
channel = 44,
ap = {
ssid = 'Freifunk EA-WAK (5GHz)',
},
mesh = {
id = 'mesh.ffea_wak.freifunk.net',
mcast_rate = 12000,
},
},
-- more domain specific config follows here
prefix4 = '10.99.0.0/18',
prefix6 = 'fd0a:d928:b30d:4::/64',

mesh = {
vxlan = false,
batman_adv = {
gw_sel_class = 2500,
routing_algo = 'BATMAN_IV',
},
},
wifi24 = {
channel = 1,
ap = {
ssid = 'Freifunk EA-WAK',
},
mesh = {
id = 'mesh.ffea_wak.freifunk.net',
mcast_rate = 12000,
},
},
wifi5 = {
channel = 44,
ap = {
ssid = 'Freifunk EA-WAK (5GHz)',
},
mesh = {
id = 'mesh.ffea_wak.freifunk.net',
mcast_rate = 12000,
},
},

mesh_vpn = {
mesh = {
vxlan = false,
batman_adv = {
gw_sel_class = 2500,
routing_algo = 'BATMAN_IV',
},
},

mtu = 1426,
mesh_vpn = {

fastd = {
methods = {'null+salsa2012+umac'},
groups = {
backbone = {
limit = 1,
peers = {
vpn5 = {
key = '880ca400d528a9a39c761a49fe1a54fa01a630a99b6217216bb126fecb4f50a1',
remotes = {'ipv4 "vpn5.erfurt.freifunk.net" port 1234'},
},
},
},
},
},
},
mtu = 1426,

next_node = {
ip4 = '10.99.0.1',
ip6 = 'fd0a:d928:b30d:4::1',
mac = 'ca:ff:ee:ba:be:01',
},
fastd = {
methods = {'null+salsa2012+umac'},
groups = {
backbone = {
limit = 1,
peers = {
vpn5 = {
key = '880ca400d528a9a39c761a49fe1a54fa01a630a99b6217216bb126fecb4f50a1',
remotes = {'ipv4 "vpn5.erfurt.freifunk.net" port 1234'},
},
vpn6 = {
key = '643209311edccd45058f470402faa0abf4020e36c0024f0b9c8b0740c97cd69c',
remotes = {'ipv4 "vpn6.erfurt.freifunk.net" port 1234'},
}
},
},
},
},
},

next_node = {
ip4 = '10.99.0.1',
ip6 = 'fd0a:d928:b30d:4::1',
mac = 'ca:ff:ee:ba:be:01',
},
}
Loading

0 comments on commit 20b77b0

Please sign in to comment.