nixos

NixOS server files. Mirror from https://git.nordgedanken.dev/kubernetes/nixos
git clone git://archive.git.mtrnord.blog/MTRNord/nixos.git
Log | Files | Refs | README

commit 642307a49dc22c9f42ad35ea9e5f151ce68ce02d
parent 7145bfc01179953be554a037912e30cffebd61b2
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 27 Jan 2024 19:34:23 +0100

Meow

Diffstat:
Mnixos/worker-1/configuration.nix | 23+----------------------
Mnixos/worker-2/configuration.nix | 22+---------------------
2 files changed, 2 insertions(+), 43 deletions(-)

diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -483,29 +483,16 @@ in { import all; }; } - protocol kernel { - ipv6 { export all; }; - } - protocol bgp worker2 { local 10.0.2.1 as 64513; # Use a private AS number neighbor 10.0.2.2 as 64514; # Our neighbor ... - #direct; graceful restart on; multihop 2; # ... which is connected indirectly ipv4 { export filter allowed_ips; import filter allowed_ips; + next hop self; }; - ipv6 { - import all; - export none; - }; - ipv4 multicast { - import all; - export none; - }; - next hop self; } protocol bgp nordgedanken { @@ -518,14 +505,6 @@ in { export filter allowed_ips; import filter allowed_ips; }; - ipv6 { - import all; - export none; - }; - ipv4 multicast { - import all; - export none; - }; } ''; }; diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix @@ -583,29 +583,17 @@ in { import all; }; } - protocol kernel { - ipv6 { export all; }; - } protocol bgp worker1 { local 10.0.2.2 as 64514; # Use a private AS number neighbor 10.0.2.1 as 64513; # Our neighbor ... - #direct; graceful restart on; multihop 2; # ... which is connected indirectly ipv4 { export filter allowed_ips; import filter allowed_ips; + next hop self; }; - ipv6 { - import all; - export none; - }; - ipv4 multicast { - import all; - export none; - }; - next hop self; } protocol bgp nordgedanken { @@ -618,14 +606,6 @@ in { export filter allowed_ips; import filter allowed_ips; }; - ipv6 { - import all; - export none; - }; - ipv4 multicast { - import all; - export none; - }; } ''; };