eple: disable nfs
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
statdPort = 4000;
|
||||
extraNfsdConfig = '''';
|
||||
};
|
||||
networking.firewall = {
|
||||
networking.firewall = lib.mkIf (config.services.nfs.server.enable) {
|
||||
# for NFSv3; view with `rpcinfo -p`
|
||||
allowedTCPPorts = [ 111 2049 4000 4001 4002 ]; # 20048
|
||||
allowedUDPPorts = [ 111 2049 4000 4001 4002 ]; # 20048
|
||||
|
||||
Reference in New Issue
Block a user