Added mosh module

This commit is contained in:
Julien Malka 2021-12-25 16:37:08 +01:00
parent 43fe8ad54f
commit 8103e8e236
No known key found for this signature in database
GPG key ID: 3C68E13964FEA07F
5 changed files with 31 additions and 18 deletions

View file

@ -23,9 +23,8 @@ in
networking.interfaces.enp2s0f0.useDHCP = true;
networking.interfaces.enp2s0f1.useDHCP = true;
networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [ 22 80 443 ];
networking.firewall.allowedUDPPorts = [ 22 80 443 ];
networking.firewall.allowedUDPPortRanges = [{ from = 60000; to = 61000; }];
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedUDPPorts = [ 80 443 ];
services.zfs.autoSnapshot.enable = true;