hosts/dn42-il-gw1: Remote second peering of prefixlabs
This commit is contained in:
@@ -84,24 +84,6 @@
|
|||||||
];
|
];
|
||||||
privateKeyFile = config.sops.secrets.wg1240.path;
|
privateKeyFile = config.sops.secrets.wg1240.path;
|
||||||
};
|
};
|
||||||
wg1241 = {
|
|
||||||
ips = [
|
|
||||||
"fe80::2574/128"
|
|
||||||
];
|
|
||||||
postSetup = ''
|
|
||||||
ip addr replace dev wg1718 fe80::2574/128 peer fe80::1240:1/128
|
|
||||||
'';
|
|
||||||
listenPort = 51241;
|
|
||||||
allowedIPsAsRoutes = false;
|
|
||||||
peers = [
|
|
||||||
{
|
|
||||||
allowedIPs = [ "fe80::/10" "fd00::/8" ];
|
|
||||||
endpoint = "uk-01.prefixlabs.net:22574";
|
|
||||||
publicKey = "Yu1Y4qdSaf+OWPbAoh7PvuM2eWCVbNg84+EX5Q2Zjl4=";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
privateKeyFile = config.sops.secrets.wg1241.path;
|
|
||||||
};
|
|
||||||
# fooker
|
# fooker
|
||||||
wg1271 = {
|
wg1271 = {
|
||||||
ips = [
|
ips = [
|
||||||
@@ -248,13 +230,6 @@
|
|||||||
remoteAsn = "4242421240";
|
remoteAsn = "4242421240";
|
||||||
localAddress = "fe80::2574";
|
localAddress = "fe80::2574";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
peerName = "peer_1240_uk_01";
|
|
||||||
remoteAddress = "fe80::1240:1";
|
|
||||||
interfaceName = "wg1241";
|
|
||||||
remoteAsn = "4242421240";
|
|
||||||
localAddress = "fe80::2574";
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
peerName = "peer_1271_north";
|
peerName = "peer_1271_north";
|
||||||
remoteAddress = "fe80::2";
|
remoteAddress = "fe80::2";
|
||||||
|
|||||||
Reference in New Issue
Block a user