summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/router.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/router.nix b/config/router.nix
index 87bda38..c91fe71 100644
--- a/config/router.nix
+++ b/config/router.nix
@@ -209,7 +209,9 @@ in
ip -6 route flush cache
ip -6 route replace default dev he0 src 2001:470:8e2e:20::d table he
ip -6 route flush cache
+ '';
+ networking.wireguard.interfaces.mullvad.postSetup = ''
ip route flush cache
ip rule add fwmark ${toString mullvadMark} table mullvad
ip route replace default dev mullvad table mullvad