diff options
| author | Fuwn <[email protected]> | 2024-09-01 20:16:11 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-01 20:16:11 -0700 |
| commit | 85eab3d3adb47cfa4229c73966aae49312bbc285 (patch) | |
| tree | 3177b77a595c80c452ecec25642c47399000b2f1 /modules/networking.nix | |
| parent | ok (diff) | |
| download | nixos-config-85eab3d3adb47cfa4229c73966aae49312bbc285.tar.xz nixos-config-85eab3d3adb47cfa4229c73966aae49312bbc285.zip | |
hi
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; + } ]; }; |