summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/router.nix5
1 files 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
}