From f2d91c98208c572b5f132887f509127c15734ca1 Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 30 Apr 2023 19:25:02 +0200 Subject: [PATCH] hosts/dn42-il-gw1: e1mo endpoind changed --- hosts/dn42-il-gw1/configuration.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hosts/dn42-il-gw1/configuration.nix b/hosts/dn42-il-gw1/configuration.nix index ab38577..4d3a682 100644 --- a/hosts/dn42-il-gw1/configuration.nix +++ b/hosts/dn42-il-gw1/configuration.nix @@ -53,20 +53,20 @@ # e1mo wg0565 = { ips = [ - "fe80::43:43:1/128" - # peer fe80::43:1/128 + "fe80::2574/128" + # peer fe80::565/128 ]; postSetup = '' ip -6 route flush dev wg0565 - ip addr del dev wg0565 fe80::43:43:1/128 && ip addr add dev wg0565 fe80::43:43:1/128 peer fe80::43:1/128 + ip addr del dev wg0565 fe80::2574/128 && ip addr add dev wg0565 fe80::2574/128 peer fe80::565/128 ''; listenPort = 50565; allowedIPsAsRoutes = false; peers = [ { allowedIPs = [ "fe80::/10" "fd00::/8" ]; - endpoint = "de-fra1.dn42.net.dont-break.it:22574"; - publicKey = "shGS36iaWgcJL1FVLhZHPxLHkPETIy2FFdgmNyx1DSk="; + endpoint = "dn42-nbg1.net.dont-break.it:22574"; + publicKey = "qYaDuYYVpuFqy7KyC5PmJavqs0a7GtyuES8VwugdPSQ="; } ]; privateKeyFile = "/var/src/secrets/wireguard/wg0565"; @@ -296,8 +296,8 @@ } protocol bgp peer_0565 from bgp_peer { - neighbor fe80::43:1%wg0565 as 4242420565; - source address fd80::43:43:1; + neighbor fe80::565%wg0565 as 4242420565; + source address fe80::2574; } protocol bgp peer_1271_north from bgp_peer {