{
	hostname_prefix = 'ffnw-',
	site_name = 'Freifunk Nordwest',
	site_code = 'ffnw',

	opkg_repo = 'http://openwrt.draic.info/barrier_breaker/14.07/%S/packages',

	prefix4 = '10.18.0.0/16',
	prefix6 = 'fd74:fdaa:9dc4::/64',

	mesh_domains = {
		'ffnw',
		'18.10.in-addr.arpa',
		'4.c.d.9.a.a.d.f.4.7.d.f.ip6.arpa'
	},

	mesh_on_wan = false,

	timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin

	ntp_servers = {
		'ntp.ffnw',
	},

	regdom = 'DE',

	wifi24 = {
		channel = 6,
		htmode = 'HT40+',
		ap = {
			ssid = 'testing.nordwest.freifunk.net',
		},

		ibss = {
			ssid = 'testing.mesh.ffnw',
			bssid = '02:CA:FF:EE:BA:BE',
			mcast_rate = 12000,
		},

		mesh = {
			id = 'ffnw-mesh',
			mcast_rate = 12000,
		},
	},
	wifi5 = {
		channel = 44,
		htmode = 'HT40+',
		ap = {
			ssid = 'testing.nordwest.freifunk.net',
		},

		ibss = {
			ssid = 'testing.mesh.ffnw',
			bssid = '02:CA:FF:EE:BA:BE',
			mcast_rate = 12000,
		},

		mesh = {
			id = 'ffnw-mesh',
			mcast_rate = 12000,
		},
	},

	next_node = {
		ip4 = '10.18.0.127',
		ip6 = 'fd74:fdaa:9dc4:127',
		mac = '16:41:95:40:f7:dc',
	},

	mesh = {
		batman_adv = {
			gw_sel_class = 1,
		},
	},

	fastd_mesh_vpn = {
		methods = { 'salsa2012+umac' },
		enabled = true,
		configurable = true,
		mtu = 1312,
		groups = {
			backbone = {
				limit = 1,
				peers = {
					vpn02 = {
						key = '32a02dd5e6b9233926e178ac609023ad30bcf26954d38d410088bbdc0b2258cb',
						remotes = {'"vpn02.ffnw.de" port 11111'},
					},
					vpn03 = {
						key = '9737c65a17cfaa8339315ee53d2b9e02520733780362efacf9503737f5a23204',
						remotes = {'"vpn03.ffnw.de" port 11111'},
					},
					vpn04 = {
						key = '18199a10620dbd13728a09402ca2364436ca27e46e669a2ebdfe20976dc45e6f',
						remotes = {'"vpn04.ffnw.de" port 11111'},
					},
					vpn05 = {
						key = '5c1738236ba6930f654fd5e815e0c63ac03f81551ee2b183045b256fb133f77d',
						remotes = {'"vpn05.ffnw.de" port 11111'},
					},
					vpn06 = {
						key ='22e270ff9b2d1017c3a0b00dd22a58ef7e5915a355eeb16f0b8b52d7eb377869',
						remotes = {'"vpn06.ffnw.de" port 11111'},
					},
				},
			},
		},
		bandwidth_limit = {
			enabled = false,
			egress = 200,
			ingress = 3000,
		},
	},

	autoupdater = {
		enabled = 1,
		branch = 'stable',
		branches = {
			stable = {
				name = 'stable',
				mirrors = {
					'http://autoupdate.ffnw/stable/',
				},
				good_signatures = 4,
				pubkeys = {
					'22c79b193a36269fd7fd51531e762b776e982926c90822df80b56f2be11648d4', --bjo
					'99c420e95dd0923ee6277af5c306f9ae6b97f8793b08edd41448925df5fe35b9', --floh1111
					'a4f6bb6172f39a6967bf9fe9243c9853407217d8243eeaee885892baf1be4703', --bioxz
					'd2b1366a38514e0fac47b119a8a08973ea8020bf9c138908d32b56a5d99f3079', --baranator
					'5d95cc2ef3ad17fe3716469e1effde4a49a25d4de9befa4a6eb260e4cda79ab0', --tata
					'0e6704ba26c150185514a391658455a612839c35bd83e0faffa81e0be48356e2', --sk
					'1f45d9be8a07cc2b6fcc384c71685fc0895a54be0d884aa4637c93ec4f36d970', --stefan6
				},
			},
			testing = {
				name = 'testing',
				mirrors = {
					'http://autoupdate.ffnw/testing/',
				},
				good_signatures = 1,
				pubkeys = {
					'22c79b193a36269fd7fd51531e762b776e982926c90822df80b56f2be11648d4', --bjo
					'99c420e95dd0923ee6277af5c306f9ae6b97f8793b08edd41448925df5fe35b9', --floh1111
					'a4f6bb6172f39a6967bf9fe9243c9853407217d8243eeaee885892baf1be4703', --bioxz
					'd2b1366a38514e0fac47b119a8a08973ea8020bf9c138908d32b56a5d99f3079', --baranator
					'5d95cc2ef3ad17fe3716469e1effde4a49a25d4de9befa4a6eb260e4cda79ab0', --tata
					'0e6704ba26c150185514a391658455a612839c35bd83e0faffa81e0be48356e2', --sk
					'1f45d9be8a07cc2b6fcc384c71685fc0895a54be0d884aa4637c93ec4f36d970', --stefan6
				},
			},
		},
	},

	setup_mode = {
		skip = false,
	},

	simple_tc = {
		mesh_vpn = {
			ifname = "mesh-vpn",
			enabled = false,
			limit_egress = 500,
			limit_ingress = 8000,
		},
	},

	location = {
		autolocation = 0,
		interval = 1000,
	},

legacy = {
		version_files = {'/etc/.freifunk_version_keep', '/etc/.lff_version_keep'},
		old_files = {'/etc/config/config_mode', '/etc/config/ffnw', '/etc/config/freifunk'},

		config_mode_configs = {'config_mode', 'ffnw', 'freifunk'},
		fastd_configs = {'ffnw_mesh_vpn', 'mesh_vpn'},
		mesh_ifname = 'freifunk',
		tc_configs = {'ffnw', 'freifunk'},
		wifi_names = {'wifi_freifunk', 'wifi_freifunk5', 'wifi_mesh', 'wifi_mesh5'},
	},
}
