From 5f7ea26071840c0ecd2b4f4b440c3148fbcad32e Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sat, 4 Apr 2020 03:01:17 +0200 Subject: [PATCH] Add peer to hel1 --- hel1/bird2/bird/peers/AS4242422904_doxz.conf | 7 +++++++ hel1/systemd-networkd/dn42p1.netdev | 13 +++++++++++++ hel1/systemd-networkd/dn42p1.network | 10 ++++++++++ hel1/systemd-networkd/lo.network | 5 +++++ 4 files changed, 35 insertions(+) create mode 100644 hel1/bird2/bird/peers/AS4242422904_doxz.conf create mode 100644 hel1/systemd-networkd/dn42p1.netdev create mode 100644 hel1/systemd-networkd/dn42p1.network create mode 100644 hel1/systemd-networkd/lo.network diff --git a/hel1/bird2/bird/peers/AS4242422904_doxz.conf b/hel1/bird2/bird/peers/AS4242422904_doxz.conf new file mode 100644 index 0000000..7f65455 --- /dev/null +++ b/hel1/bird2/bird/peers/AS4242422904_doxz.conf @@ -0,0 +1,7 @@ +protocol bgp AS4242422904_doxz from dnpeers { + neighbor 172.22.159.62 as 4242422904; +} + +protocol bgp AS4242422904_doxz_v6 from dnpeers { + neighbor fdfc:694e:234f::affa%dn42p1 as 4242422904; +} diff --git a/hel1/systemd-networkd/dn42p1.netdev b/hel1/systemd-networkd/dn42p1.netdev new file mode 100644 index 0000000..ff7aa2e --- /dev/null +++ b/hel1/systemd-networkd/dn42p1.netdev @@ -0,0 +1,13 @@ +[NetDev] +Name = dn42p1 +Kind = wireguard +Description = WireGuard + +[WireGuard] +ListenPort = 42421 +PrivateKeyFile = /etc/wireguard/private.key + +[WireGuardPeer] +PublicKey = CsXK/SE+c9vzX69tX1spr7KEounusQm+AojRom+cdy8= +Endpoint = dn42-de-fsn1.doxz.net:51825 +AllowedIPs = 172.16.0.0/12,10.0.0.0/8,fd00::/8,fe80::/10 diff --git a/hel1/systemd-networkd/dn42p1.network b/hel1/systemd-networkd/dn42p1.network new file mode 100644 index 0000000..15e22f4 --- /dev/null +++ b/hel1/systemd-networkd/dn42p1.network @@ -0,0 +1,10 @@ +[Match] +Name = dn42p1 + +[Address] +Address = fdff:b02d:2ef7::4/128 +Peer = fdfc:694e:234f::affa/128 + +[Address] +Address = 172.20.177.35/32 +Peer = 172.22.159.62/32 diff --git a/hel1/systemd-networkd/lo.network b/hel1/systemd-networkd/lo.network new file mode 100644 index 0000000..005750f --- /dev/null +++ b/hel1/systemd-networkd/lo.network @@ -0,0 +1,5 @@ +[Match] +Name=lo + +[Network] +Address=fdff:b02d:2ef7::4/128