62 lines
1.6 KiB
Plaintext
62 lines
1.6 KiB
Plaintext
|
{
|
||
|
-- multiple codes/names can be defined, the first one is the primary name
|
||
|
-- additional aliases can be defined
|
||
|
domain_names = {
|
||
|
alpha_centauri = 'Alpha Centauri',
|
||
|
rigil_kentaurus = 'Rigil Kentaurus',
|
||
|
proxima_centauri = 'Proxima Centauri',
|
||
|
},
|
||
|
|
||
|
-- 32 byte random data in hexadecimal encoding
|
||
|
-- Can be generated using: echo $(hexdump -v -n 32 -e '1/1 "%02x"' </dev/urandom)
|
||
|
domain_seed = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
|
||
|
|
||
|
-- unique network prefixes per domain
|
||
|
prefix4 = '10.xxx.0.0/20',
|
||
|
prefix6 = 'fdxx:xxxx:xxxx:xxxx::/64',
|
||
|
|
||
|
next_node = {
|
||
|
ip4 = '10.xxx.yyy.zzz',
|
||
|
ip6 = 'fdxx:xxxx:xxxx:xxxx::xxxx',
|
||
|
},
|
||
|
|
||
|
wifi24= {
|
||
|
ap = {
|
||
|
ssid = "alpha-centauri.example.org",
|
||
|
channel = 1,
|
||
|
},
|
||
|
mesh = {
|
||
|
id = 'ueH3uXjdp', -- usually you don't want users to connect to this mesh-SSID, so use a cryptic id that no one will accidentally mistake for the client WiFi
|
||
|
},
|
||
|
},
|
||
|
|
||
|
wifi5= {
|
||
|
ap = {
|
||
|
ssid = "alpha-centauri.example.org",
|
||
|
channel = 44,
|
||
|
},
|
||
|
mesh = {
|
||
|
id = 'ueH3uXjdp',
|
||
|
},
|
||
|
},
|
||
|
|
||
|
mesh_vpn = {
|
||
|
fastd = {
|
||
|
groups = {
|
||
|
backbone = {
|
||
|
peers = {
|
||
|
peer1 = {
|
||
|
key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
|
||
|
remotes = {'"peer1.example.org" port xxxxx'},
|
||
|
},
|
||
|
peer2 = {
|
||
|
key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
|
||
|
remotes = {'"peer2.example.org" port xxxxx'},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
}
|