diff options
Diffstat (limited to 'hosts/toaster')
| -rw-r--r-- | hosts/toaster/network/mullvad.nix | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/hosts/toaster/network/mullvad.nix b/hosts/toaster/network/mullvad.nix index 54fec8d..85cca77 100644 --- a/hosts/toaster/network/mullvad.nix +++ b/hosts/toaster/network/mullvad.nix @@ -54,23 +54,23 @@ "::" ]; - routingPolicyRules = - [ - { - Family = "both"; - FirewallMark = 34952; # 0x8888 - InvertRule = true; - Table = "1000"; - Priority = 100; - } - { - Family = "both"; - SuppressPrefixLength = 0; - Table = "main"; - Priority = 90; - } - ] - ++ map + routingPolicyRules = [ + { + Family = "both"; + FirewallMark = 34952; # 0x8888 + InvertRule = true; + Table = "1000"; + Priority = 100; + } + { + Family = "both"; + SuppressPrefixLength = 0; + Table = "main"; + Priority = 90; + } + ] + ++ + map (net: { # only route global addresses over VPN Priority = 80; |
