commit 2b4c5c606ff2fa9f2b43efe132506f647ac26230 parent 3699dc006c7f2c27c8db0ebfb9dfae44ca33ea3d Author: MTRNord <mtrnord1@gmail.com> Date: Sun, 28 Jan 2024 20:30:00 +0100 Working on opnsense Diffstat:
| M | nixos/worker-1/configuration.nix | | | 14 | ++++++-------- |
| M | nixos/worker-2/configuration.nix | | | 12 | +++++------- |
2 files changed, 11 insertions(+), 15 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -487,15 +487,13 @@ in { learn yes; } - protocol ospf OSPF { - area 0.0.0.0 { - interface "enp7s0" { - type broadcast; - }; - }; + protocol bgp { + local 10.0.2.3 as 64513; + neighbor 10.0.2.1 as 64512; + multihop; ipv4 { - import all; export all; + import all; }; } ''; @@ -504,7 +502,7 @@ in { bird-lg = { proxy = { enable = true; - allowedIPs = ["10.0.2.2" "fe99:13::1"]; + allowedIPs = ["10.0.2.3" "fe99:13::1"]; listenAddress = "10.0.2.3:8000"; }; frontend = { diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix @@ -696,15 +696,13 @@ in { }; learn yes; } - protocol ospf OSPF { - area 0.0.0.0 { - interface "enp7s0" { - type broadcast; - }; - }; + protocol bgp { + local 10.0.2.2 as 64514; + neighbor 10.0.2.1 as 64512; + multihop; ipv4 { - import all; export all; + import all; }; } '';