diff --git a/hosts/dn42-il-gw1/configuration.nix b/hosts/dn42-il-gw1/configuration.nix index f7aaadb..bec44a7 100644 --- a/hosts/dn42-il-gw1/configuration.nix +++ b/hosts/dn42-il-gw1/configuration.nix @@ -26,27 +26,6 @@ networking.wireguard.enable = true; networking.wireguard.interfaces = { - # n0emis - wg0197 = { - ips = [ - "fe80::42:1/128" - # peer fe80::42:42:1/128 - ]; - postSetup = '' - ip -6 route flush dev wg0197 - ip addr del dev wg0197 fe80::42:1/128 && ip addr add dev wg0197 fe80::42:1/128 peer fe80::42:42:1/128 - ''; - listenPort = 50197; - allowedIPsAsRoutes = false; - peers = [ - { - allowedIPs = [ "fe80::/10" "fd00::/8" ]; - endpoint = "himalia.dn42.n0emis.eu:52574"; - publicKey = "ObF+xGC6DdddJer0IUw6nzC0RqzeKWwEiQU0ieowzhg="; - } - ]; - privateKeyFile = config.sops.secrets.wg0197.path; - }; # e1mo wg0565 = { ips = [ @@ -267,11 +246,6 @@ }; } - protocol bgp peer_0197_himalia from bgp_peer { - neighbor fe80::42:42:1%wg0197 as 4242420197; - source address fe80::42:1; - } - protocol bgp peer_0565 from bgp_peer { neighbor fe80::565%wg0565 as 4242420565; source address fe80::2574;