1
0

Add lutoma peering

This commit is contained in:
clerie 2022-03-22 14:15:46 +01:00
parent 588db80877
commit 82f22ef444

View File

@ -151,6 +151,26 @@
]; ];
privateKeyFile = "/var/src/secrets/wireguard/wg1302"; privateKeyFile = "/var/src/secrets/wireguard/wg1302";
}; };
# lutoma
wg4719 = {
ips = [
#"fe80::1/128"
# peer fe80::acab/128
];
postSetup = ''
ip addr add dev wg4719 fe80::1/128 peer fe80::acab/128
'';
listenPort = 54719;
allowedIPsAsRoutes = false;
peers = [
{
allowedIPs = [ "fe80::/10" "fd00::/8" ];
endpoint = "[2603:c020:8001:ed42::42]:42546";
publicKey = "MkVyCgIq0BOStFIu2/Wl91ofFuRvnG3ZqTWFfVs/VlQ=";
}
];
privateKeyFile = "/var/src/secrets/wireguard/wg4719";
};
}; };
petabyte.policyrouting = { petabyte.policyrouting = {
@ -301,6 +321,10 @@
source address fe80::a14e; source address fe80::a14e;
} }
protocol bgp peer_4719 from bgp_peer {
neighbor fe80::acab%wg4719 as 64719;
}
protocol device { protocol device {
scan time 10; scan time 10;
} }