diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2023-10-07 17:20:05 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2023-10-07 17:20:05 -0400 |
commit | 164f0d35904f40132dff88a974fee141b66cd998 (patch) | |
tree | 7149ed09c153eae6996d74977f50e9e9f1443f37 | |
parent | 884bffcad7a3443014196c08eb701e6682f70cc3 (diff) |
default ipv6 route
-rw-r--r-- | modules/router.nix | 1 |
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 |