From 22974ed14171518997cded2236c0f01aeabd384c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 14 Apr 2018 13:53:42 +0200 Subject: allow nfs to odin --- odin.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/odin.nix b/odin.nix index d63554be..f34e1e99 100644 --- a/odin.nix +++ b/odin.nix @@ -62,11 +62,16 @@ allowPing = true; allowedTCPPorts = [ 22 # ssh 139 445 # samba + 111 2049 # nfs ]; allowedTCPPortRanges = [ { from = 8080; to = 8080; } # motion + { from = 4000; to = 4002; } # nfs ]; - allowedUDPPorts = [ 137 138 ]; # samba + allowedUDPPorts = [ 137 138 # samba + 111 2049 # nfs + ]; allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh + { from = 4000; to = 4002; } # nfs ]; }; @@ -264,6 +269,9 @@ exports = '' /srv/media *(ro,insecure,all_squash,no_subtree_check,mp) ''; + lockdPort = 4001; + mountdPort = 4002; + statdPort = 4000; }; system.autoUpgrade.enable = true; -- cgit v1.2.3