From 6f505b2e6a421570048aec90847cb36d9d9bce36 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Mon, 18 Jul 2022 01:20:42 +0200 Subject: [PATCH] get more leeway for routing rules --- hosts/microwave/network.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/microwave/network.nix b/hosts/microwave/network.nix index 6a263d7..bc4f260 100644 --- a/hosts/microwave/network.nix +++ b/hosts/microwave/network.nix @@ -222,7 +222,7 @@ FirewallMark = 34952; # 0x8888 InvertRule = true; Table = "1000"; - Priority = 10; + Priority = 100; }; } { @@ -230,14 +230,14 @@ Family = "both"; SuppressPrefixLength = 0; Table = "main"; - Priority = 9; + Priority = 90; }; } ] ++ map (net: { # only route global addresses over VPN routingPolicyRuleConfig = { - Priority = 8; + Priority = 80; To = net; }; }) [