Skip to content
Snippets Groups Projects
site.conf 2.74 KiB
{
	hostname_prefix => 'ffol',
	site_name => 'Freifunk Oldenburg',
	site_code => 'ffol',
	release => '0.4.99-nightly' . nightly,

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

	mesh_domains => [ 'ffol', '18.10.in-addr.arpa', '4.c.d.9.a.a.d.f.4.7.d.f.ip6.arpa' ],

	timezone => 'CET-1CEST,M3.5.0,M10.5.0/3', # Europe/Berlin
	ntp_servers => ['1.ntp.services.ffol'],
	regdom => 'DE',

	wifi24 => {
		ssid => 'oldenburg.freifunk.net',
		channel => 6,
		htmode => 'HT40+',
		mesh_ssid => 'oldenburg.bremen.freifunk.net',
		mesh_bssid => '02:CA:FF:EE:BA:BE',
		mesh_mcast_rate => 12000,
	},
	wifi5 => {
		ssid => 'oldenburg.freifunk.net',
		channel => 44,
		htmode => 'HT40+',
		mesh_ssid => 'batman.oldenburg.freifunk.net',
		mesh_bssid => '02:CA:FF:EE:BA:BE',
		mesh_mcast_rate => 12000,
	},

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

	fastd_mesh_vpn => {
		methods => ['salsa2012+gmac'],
		mtu => 1426,
		backbone => {
			limit => 1,
			peers => {
				vpn01 => {
					key => '3f91292e8aec1e42d699bc1ba9fd12289099db3aecd1bee84f0b893ff820774f',
					remotes => ['ipv4 "vpn.freifunk-ol.de" port 10000'],
				},
			},
		},
	},

	autoupdater => {
		enabled => 1,
		branch => 'nightly',
		branches => {
			nightly => {
				name => 'nightly',
				mirrors => ['http://[fd2f:5119:0f2c::1]/firmware/nightly',
				probability => 1,
				good_signatures => 1,
				pubkeys => [
					
				'99c420e95dd0923ee6277af5c306f9ae6b97f8793b08edd41448925df5fe35b9', #floh1111
				'22c79b193a36269fd7fd51531e762b776e982926c90822df80b56f2be11648d4' #bjo
				],
			},
			testing => {
				name => 'testing',
				mirrors => 
				['http://[fd74:fdaa:9dc4::1]/firmware/testing' ],
				probability => 0.5,
				good_signatures => 1,
				pubkeys => [
					'22c79b193a36269fd7fd51531e762b776e982926c90822df80b56f2be11648d4', # bjo
					'99c420e95dd0923ee6277af5c306f9ae6b97f8793b08edd41448925df5fe35b9', #floh1111
				],
			},
			stable => {
				name => 'stable',
				mirrors => 
				['fd74:fdaa:9dc4::1]/firmware/stable' ],
				probability => 0.08, # mean time until update: ~12.5 hours (1/0.08)
				good_signatures => 2,
				pubkeys => [
					
					'22c79b193a36269fd7fd51531e762b776e982926c90822df80b56f2be11648d4', #bjo
					'99c420e95dd0923ee6277af5c306f9ae6b97f8793b08edd41448925df5fe35b9', #floh1111
				],
			},
		},
	},

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

	config_mode => {
		  msg_welcome => <<'END',
Hallo!
END
		msg_pubkey => <<'END',
Dies ist der öffentliche Schlüssel deines Freifunkknoten. Die 
Information ist zur Zeit für dich nutzlos, da der Key automatisch 
übertragen wird.
END
	msg_reoot => <<'END' ,
		Der Router rebootet eben neu!
END
	},
}