get more leeway for routing rules

This commit is contained in:
Grigory Shipunov 2022-07-18 01:20:42 +02:00
parent 5d77284d48
commit 6f505b2e6a
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C

View file

@ -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;
};
}) [