From c5fd9f3892c3855d456d67c0ce409b0c3b756a69 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Fri, 10 Jan 2025 01:46:40 -0600 Subject: [PATCH] open more nfs ports --- nixos/modules/nixos/system/nfs/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/modules/nixos/system/nfs/default.nix b/nixos/modules/nixos/system/nfs/default.nix index b5453b6..dfaa293 100644 --- a/nixos/modules/nixos/system/nfs/default.nix +++ b/nixos/modules/nixos/system/nfs/default.nix @@ -15,7 +15,9 @@ in services.nfs.server.enable = true; services.nfs.server.exports = cfg.exports; networking.firewall.allowedTCPPorts = [ - 2049 + 2049 # NFS + 111 # RPC bind + 20048 # NFSv4 (Mountd) ]; }; }