1
0

hosts/dn42-il-gw1: e1mo endpoind changed

This commit is contained in:
clerie 2023-04-30 19:25:02 +02:00
parent 56a34de0cb
commit f2d91c9820

View File

@ -53,20 +53,20 @@
# e1mo # e1mo
wg0565 = { wg0565 = {
ips = [ ips = [
"fe80::43:43:1/128" "fe80::2574/128"
# peer fe80::43:1/128 # peer fe80::565/128
]; ];
postSetup = '' postSetup = ''
ip -6 route flush dev wg0565 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; listenPort = 50565;
allowedIPsAsRoutes = false; allowedIPsAsRoutes = false;
peers = [ peers = [
{ {
allowedIPs = [ "fe80::/10" "fd00::/8" ]; allowedIPs = [ "fe80::/10" "fd00::/8" ];
endpoint = "de-fra1.dn42.net.dont-break.it:22574"; endpoint = "dn42-nbg1.net.dont-break.it:22574";
publicKey = "shGS36iaWgcJL1FVLhZHPxLHkPETIy2FFdgmNyx1DSk="; publicKey = "qYaDuYYVpuFqy7KyC5PmJavqs0a7GtyuES8VwugdPSQ=";
} }
]; ];
privateKeyFile = "/var/src/secrets/wireguard/wg0565"; privateKeyFile = "/var/src/secrets/wireguard/wg0565";
@ -296,8 +296,8 @@
} }
protocol bgp peer_0565 from bgp_peer { protocol bgp peer_0565 from bgp_peer {
neighbor fe80::43:1%wg0565 as 4242420565; neighbor fe80::565%wg0565 as 4242420565;
source address fd80::43:43:1; source address fe80::2574;
} }
protocol bgp peer_1271_north from bgp_peer { protocol bgp peer_1271_north from bgp_peer {