site-ffrgb-dev/extra/template.conf

117 lines
2.6 KiB
Plaintext
Raw Normal View History

2018-01-10 16:30:06 +01:00
{
hostname_prefix = '',
2018-01-10 17:23:02 +01:00
site_name = '%SN',
2018-01-10 16:30:06 +01:00
site_code = '%SC',
opkg = {
openwrt = 'http://downloads.openwrt.org/%n/%v/%S/packages',
},
prefix4 = '%V4',
2018-01-10 17:23:02 +01:00
prefix6 = 'fdef:f%V6f:1337:cafe::/64',
2018-01-10 16:30:06 +01:00
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3',
ntp_servers = {'1.ntp.services.ffrgb','2.ntp.services.ffrgb'},
mesh_on_wan = true,
regdom = 'DE',
wifi24 = {
channel = 1,
ap = {
ssid = '%SS',
},
ibss = {
ssid = '%IB',
bssid = '%BS',
mcast_rate = 12000,
},
},
wifi5 = {
channel = 44,
ap = {
ssid = '%SS',
},
ibss = {
ssid = '%IB',
bssid = '%BS',
mcast_rate = 12000,
}
},
next_node = {
ip4 = '%N4',
2018-01-10 17:23:02 +01:00
ip6 = 'fdef:f%V6f:1337:cafe::1',
2018-01-10 16:30:06 +01:00
mac = '%NN',
},
fastd_mesh_vpn = {
bandwidth_limit = {
enabled = false,
ingress = 12000,
egress = 1200,
},
2018-01-14 20:52:11 +01:00
methods = {'salsa2012+umac'},
configurable = true,
2018-01-10 23:14:55 +01:00
mtu = '%MT',
2018-01-10 16:30:06 +01:00
groups = {
backbone = {
2018-01-10 23:14:55 +01:00
limit = 1,
2018-01-10 16:30:06 +01:00
peers = {
2018-01-10 23:14:55 +01:00
gwpri = { --[[ pri gw instance 1 ]]
key = '%PRIKEY',
2018-01-10 16:30:06 +01:00
remotes = {
'ipv4 "%PRI" port 10%ID0',
'ipv4 "%PRI" port 10%ID1',
'ipv4 "%PRI" port 10%ID2',
},
},
2018-01-10 23:14:55 +01:00
gwsec = { --[[ sec gw instance 1 ]]
key = '%SECKEY',
2018-01-10 16:30:06 +01:00
remotes = {
'ipv4 "%SEC" port 10%ID0',
'ipv4 "%SEC" port 10%ID1',
'ipv4 "%SEC" port 10%ID2',
},
},
},
},
},
},
autoupdater = {
enabled = 1,
branch = 'stable',
branches = {
stable = {
name = 'stable',
mirrors = {
'http://[fdef:f%V6f:1337:cafe::11]/firmware/stable/sysupgrade/',
2018-01-10 16:30:06 +01:00
},
good_signatures = 1,
pubkeys = {
'4d6b1a8e2ecfdb59469c38c3659916dd6046cd5270ddd31c3319b21c508eaa07', -- mephisto
'130ff01b6c8df0349c977a5c9539775209493bc771b713e5b3e58cc1d7c4145a', -- sven
'dc024622f48f25f3e11881eab29a2a015950f31c884f0043ddc78156dcfab9da', -- xaver
2018-01-10 16:30:06 +01:00
},
},
experimental = {
name = 'experimental',
mirrors = {
'http://[fdef:f%V6f:1337:cafe::11]/firmware/experimental/sysupgrade/',
2018-01-10 16:30:06 +01:00
},
good_signatures = 1,
pubkeys = {
'4d6b1a8e2ecfdb59469c38c3659916dd6046cd5270ddd31c3319b21c508eaa07', -- mephisto
'130ff01b6c8df0349c977a5c9539775209493bc771b713e5b3e58cc1d7c4145a', -- sven
'dc024622f48f25f3e11881eab29a2a015950f31c884f0043ddc78156dcfab9da', -- xaver
2018-01-10 16:30:06 +01:00
},
},
},
},
}
-- vim: set ft=lua:ts=2:sw=2:et