From 10769a444111751d6b3254755d8f3ee79f3e3872 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Tue, 19 Dec 2023 16:55:18 +0000 Subject: [PATCH] nixos/britway: Export route to Dublin --- nixos/boxes/britway/bgp.nix | 5 ++++- nixos/boxes/britway/default.nix | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/nixos/boxes/britway/bgp.nix b/nixos/boxes/britway/bgp.nix index 11f408d..7ff13a9 100644 --- a/nixos/boxes/britway/bgp.nix +++ b/nixos/boxes/britway/bgp.nix @@ -92,7 +92,10 @@ in protocol kernel kernel6 { ipv6 { import none; - export none; + export filter { + if net = HOMENET6 then accept; + reject; + }; }; } diff --git a/nixos/boxes/britway/default.nix b/nixos/boxes/britway/default.nix index 1eb267b..b72bd12 100644 --- a/nixos/boxes/britway/default.nix +++ b/nixos/boxes/britway/default.nix @@ -118,7 +118,9 @@ in }; }; - firewall = { }; + firewall = { + trustedInterfaces = [ "as211024" ]; + }; }; } ];