From 895c379186c06f23622efdc0967ede7223c0ccf8 Mon Sep 17 00:00:00 2001 From: kat witch Date: Mon, 3 May 2021 16:53:47 +0100 Subject: [PATCH] profiles/common: Mosh firewall rules --- profiles/common/nixos/ssh.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profiles/common/nixos/ssh.nix b/profiles/common/nixos/ssh.nix index f20aa3d7..90871b52 100644 --- a/profiles/common/nixos/ssh.nix +++ b/profiles/common/nixos/ssh.nix @@ -1,6 +1,9 @@ { config, lib, pkgs, ... }: { + katnet.public.udp.ranges = [ { from=60000; to=61000; }]; + katnet.private.udp.ranges = [ { from=60000; to=61000; }]; + services.openssh = { enable = true; ports = lib.mkDefault [ 62954 ];