From 598b098d51c2df9c1252a5255f3d723a6e28bc0d Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Wed, 10 Apr 2024 07:13:41 -0400 Subject: Update routes for HE subnet --- modules/router.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/router.nix b/modules/router.nix index c2c7719..35274eb 100644 --- a/modules/router.nix +++ b/modules/router.nix @@ -147,7 +147,8 @@ let wantedBy = [ "multi-user.target" ]; path = [ pkgs.iproute ]; script = '' - ip -6 rule add fwmark ${toString heMark} table he || true + ip -6 rule add fwmark ${toString heMark} table main priority 19000 suppress_prefixlength 0 || true + ip -6 rule add fwmark ${toString heMark} table he priority 20000 || true # ip -6 route replace default dev he0 table he # ip -6 route replace default dev he0 metric 1 @@ -249,7 +250,7 @@ let ${toString mullvadPort}, 25565 } define SERVER_LAN_PORTS = { - tftp, ssh, + tftp, 1080, # socks 139, 445, 137, 138, wsdapi, ws-discovery, # samba } -- cgit v1.2.3