diff options
Diffstat (limited to 'modules/networking.nix')
| -rw-r--r-- | modules/networking.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/modules/networking.nix b/modules/networking.nix index 1e3449f..061a076 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -1,4 +1,5 @@ -{ pkgs, ... }: { +{ pkgs, ... }: +{ networking = { hostName = "kansai"; nftables.enable = true; @@ -21,10 +22,15 @@ allowedUDPPorts = [ 53 ]; allowedTCPPorts = [ - 2222 80 443 - 32400 + ]; + + allowedUDPPortRanges = [ + { + from = 60000; + to = 61000; + } ]; }; |