diff options
Diffstat (limited to 'roles/space_server/files')
-rw-r--r-- | roles/space_server/files/bird.conf | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/roles/space_server/files/bird.conf b/roles/space_server/files/bird.conf index 417328d..a733e05 100644 --- a/roles/space_server/files/bird.conf +++ b/roles/space_server/files/bird.conf @@ -46,6 +46,10 @@ define asbjorn_prefixes_v6 = [ 2a10:2a80:1ab::/48 ]; +define graffen_prefixes_v4 = [ + 44.145.128.0/24 +]; + define graffen_prefixes_v6 = [ 2001:678:15c::/48 ]; @@ -237,6 +241,17 @@ protocol bgp asbjorn_ipv6 from bgp_customer { } # BGP customer: graffen +protocol bgp graffen_ipv4 from bgp_customer { + local 185.38.175.65 as local_asn; + neighbor 185.38.175.78 as graffen_asn; + ipv4 { + import limit 10 action block; + receive limit 20 action disable; + import keep filtered on; + import filter { customer_import(graffen_asn, graffen_prefixes_v4); }; + export filter { customer_export_and_default(); }; + }; +} protocol bgp graffen_ipv6 from bgp_customer { local 2a01:4262:1ab:20::1 as local_asn; @@ -246,6 +261,6 @@ protocol bgp graffen_ipv6 from bgp_customer { receive limit 20 action disable; import keep filtered on; import filter { customer_import(graffen_asn, graffen_prefixes_v6); }; - export filter { customer_export_dfz(); }; + export filter { customer_export_and_default(); }; }; } |