From a0681ee8410e8a473044a479867dbeefa2012a10 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Fri, 12 Jan 2024 02:02:14 +0100 Subject: [PATCH] router03: fix leakage of MWAN traffic When traffic is coming in, i.e. `To = 45.13.104.25/29`, we were immediately redirecting it to `swp`, i.e. ENS. By saying that `To` should also consult the MWAN routing table, we are eliminating the redirection. --- machines/router03/router.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/machines/router03/router.nix b/machines/router03/router.nix index 6cbb320..248ba72 100644 --- a/machines/router03/router.nix +++ b/machines/router03/router.nix @@ -168,6 +168,12 @@ in Table = "mwan"; }; } + { + routingPolicyRuleConfig = { + To = "45.13.104.25/29"; + Table = "mwan"; + }; + } ]; }; "20-tun-he" = {