This commit is contained in:
Laura Hausmann 2020-04-03 20:53:47 +02:00
parent a28d8d6197
commit 8ea3866a2f
Signed by: zotan
GPG key ID: 5EC1D38FFC321311
8 changed files with 71 additions and 0 deletions

View file

@ -0,0 +1,3 @@
protocol bgp AS4242422341_zotan_fsn1 from ipeers {
neighbor fdff:b02d:2ef7::2%dn42i1;
}

View file

@ -0,0 +1,3 @@
protocol bgp AS4242423934_munsternet_v6 from dnpeers {
neighbor fe80::42:2341:2%dn42p1 as 4242422237;
}

View file

@ -0,0 +1,7 @@
protocol bgp AS4242423914_kioubit from dnpeers {
neighbor 172.20.53.97 as 4242423914;
}
protocol bgp AS4242423914_kioubit_v6 from dnpeers {
neighbor fe80::ade0%dn42p2 as 4242423914;
}

View file

@ -0,0 +1,13 @@
[NetDev]
Name = dn42p1
Kind = wireguard
Description = WireGuard
[WireGuard]
ListenPort = 42421
PrivateKeyFile = /etc/wireguard/private.key
[WireGuardPeer]
PublicKey = 9FIP8l3qBoimwWyeHBIBHqyJuzdPRn1JXU7FYCKg93Y=
Endpoint = fr-par01.dn42.munsternet.eu:51849
AllowedIPs = 172.16.0.0/12,10.0.0.0/8,fd00::/8,fe80::/10

View file

@ -0,0 +1,6 @@
[Match]
Name = dn42p1
[Address]
Address = fe80::3/128
Peer = fe80::42:2341:2/128

View file

@ -0,0 +1,13 @@
[NetDev]
Name = dn42p2
Kind = wireguard
Description = WireGuard
[WireGuard]
ListenPort = 42422
PrivateKeyFile = /etc/wireguard/private.key
[WireGuardPeer]
PublicKey = B1xSG/XTJRLd+GrWDsB06BqnIq8Xud93YVh/LYYYtUY=
Endpoint = de2.g-load.eu:22341
AllowedIPs = 172.16.0.0/12,10.0.0.0/8,fd00::/8,fe80::/10

View file

@ -0,0 +1,10 @@
[Match]
Name = dn42p2
[Address]
Address = fe80::3/128
Peer = fe80::ade0/128
[Address]
Address = 172.20.177.34/32
Peer = 172.20.53.97/32

16
update.sh Normal file
View file

@ -0,0 +1,16 @@
#!/bin/bash
scp fsn1.dn42.zotan.network:/etc/systemd/network/* fsn1/systemd-networkd
scp nbg1.dn42.zotan.network:/etc/systemd/network/* nbg1/systemd-networkd
scp hel1.dn42.zotan.network:/etc/systemd/network/* hel1/systemd-networkd
scp fsn1.dn42.zotan.network:/etc/bird.conf fsn1/bird2
scp nbg1.dn42.zotan.network:/etc/bird.conf nbg1/bird2
scp hel1.dn42.zotan.network:/etc/bird.conf hel1/bird2
scp -r fsn1.dn42.zotan.network:/etc/bird fsn1/bird2
scp -r nbg1.dn42.zotan.network:/etc/bird nbg1/bird2
scp -r hel1.dn42.zotan.network:/etc/bird hel1/bird2
scp fsn1.dn42.zotan.network:/etc/iptables/ip*tables.rules fsn1/iptables
ggrep -r "PrivateKey " .