commit 54549fd63b84faf7137dfcb71f2df1c9f0572d1f parent fb10daa317b9f51eec8dcb7d6e7d6778d0a7c5b6 Author: MTRNord <mtrnord1@gmail.com> Date: Sat, 26 Aug 2023 17:19:03 +0200 try bgp over tailscale Diffstat:
| M | nixos/worker-1/configuration.nix | | | 31 | +++++++++++++++++++++++++++++++ |
1 file changed, 31 insertions(+), 0 deletions(-)
diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -258,6 +258,8 @@ config.services.headscale.package patroni etcd_3_4 + gobgpd + gobgp ]; # Ensure /etc/shells is setup for zsh @@ -466,6 +468,35 @@ }; }; + gobgpd = { + enable = true; + settings = { + global = { + config = { + as = 4242423867; + router-id = "100.64.0.1"; + local-address-list = [ "100.64.0.1" ]; + }; + }; + # bmp-servers = [ + # { + # config = { + # address = "127.0.0.1"; + # port = 11019; + # }; + # } + # ]; + neighbors = [ + { + config = { + neighbor-address = "100.64.0.3"; + peer-as = 4242423595; + }; + } + ]; + }; + }; + postgresql = { enableJIT = true; enable = false;