From 3469890e39a7ea6c871c3502a98e74755d2f03e7 Mon Sep 17 00:00:00 2001 From: Simon Polack Date: Mon, 2 Dec 2024 22:35:37 +0100 Subject: [PATCH] gateways: drop IPv4 Routes learned via GRE --- roles/cfg_openwrt/templates/gateway/bird.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/cfg_openwrt/templates/gateway/bird.conf.j2 b/roles/cfg_openwrt/templates/gateway/bird.conf.j2 index 7764bccb..ddcce103 100644 --- a/roles/cfg_openwrt/templates/gateway/bird.conf.j2 +++ b/roles/cfg_openwrt/templates/gateway/bird.conf.j2 @@ -97,7 +97,7 @@ protocol babel babel_mesh { }; ipv4 { table v4_main; - import all; + import where ifname !~ "gre4-*"; # Drop IPv4 routes learned via GRE, which remains a rather dirty hack for IPv6 export where source = RTS_BABEL || net = 0.0.0.0/0; # Readvertise Babel routes and advertise default route };