From 0ee916e49eae8aac152a0c171c4b538b9bbc2699 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Fri, 20 Aug 2021 23:34:43 +0000 Subject: [PATCH] ops/nixos/bgp: don't export routes to FB --- ops/nixos/lib/bgp.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ops/nixos/lib/bgp.nix b/ops/nixos/lib/bgp.nix index 803ba51c99..5fd7647c08 100644 --- a/ops/nixos/lib/bgp.nix +++ b/ops/nixos/lib/bgp.nix @@ -279,6 +279,10 @@ in { bgp_ext_community.add((ro, 205479, 5004)); bgp_ext_community.add((ro, 205479, 5005)); bgp_ext_community.add((ro, 205479, 5006)); + + # do not export to facebook + bgp_ext_community.add((rt, 0, 32934)); + accept; }; }; @@ -303,6 +307,10 @@ in { bgp_ext_community.add((ro, 205479, 5004)); bgp_ext_community.add((ro, 205479, 5005)); bgp_ext_community.add((ro, 205479, 5006)); + + # do not export to facebook + bgp_ext_community.add((rt, 0, 32934)); + accept; }; };