summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-10-07 17:20:05 -0400
committerKjetil Orbekk <kj@orbekk.com>2023-10-07 17:20:05 -0400
commit164f0d35904f40132dff88a974fee141b66cd998 (patch)
tree7149ed09c153eae6996d74977f50e9e9f1443f37 /modules
parent884bffcad7a3443014196c08eb701e6682f70cc3 (diff)
default ipv6 route
Diffstat (limited to 'modules')
-rw-r--r--modules/router.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/router.nix b/modules/router.nix
index 97448a8..f2dbc46 100644
--- a/modules/router.nix
+++ b/modules/router.nix
@@ -108,6 +108,7 @@ let
script = ''
ip -6 rule add fwmark ${toString heMark} table he || true
ip -6 route replace default dev he0 table he
+ ip -6 route replace default dev he0 metric 0
# ip rule add fwmark ${toString vpnMark} table vpn || true
# ip -6 rule add fwmark ${toString vpnMark} table vpn || true