From d49a835ae2430be4268adf552218ffd7455f513b Mon Sep 17 00:00:00 2001 From: NyxErinys Date: Thu, 21 May 2026 23:29:44 -0500 Subject: [PATCH] set ip for nfs exports --- hosts/servers/poseidon/shares.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/servers/poseidon/shares.nix b/hosts/servers/poseidon/shares.nix index c516a54..c4fdc59 100644 --- a/hosts/servers/poseidon/shares.nix +++ b/hosts/servers/poseidon/shares.nix @@ -1,7 +1,7 @@ { ... }: { - networking.firewall.allowedTCPPorts = [ 111 2049 4000 4001 4002 20048 ]; - networking.firewall.allowedUDPPorts = [ 111 2049 4000 4001 4002 20048 ]; + networking.firewall.allowedTCPPorts = [ 2049 ]; + # networking.firewall.allowedUDPPorts = [ 111 2049 4000 4001 4002 20048 ]; fileSystems."/export/containers" = { device = "/Velaris/Containers"; options = [ "bind" ]; @@ -13,8 +13,8 @@ mountdPort = 4002; statdPort = 4000; exports = '' - /export 10.5.0.2(rw,fsid=0,no_subtree_check) - /export/containers 10.5.0.2(rw,nohide,insecure,no_subtree_check) + /export 10.5.0.0/24(rw,fsid=0,no_subtree_check) + /export/containers 10.5.0.0/24(rw,nohide,insecure,no_subtree_check) ''; }; } \ No newline at end of file