set ip for nfs exports
This commit is contained in:
parent
8f3a0bccd1
commit
d49a835ae2
1 changed files with 4 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
networking.firewall.allowedTCPPorts = [ 111 2049 4000 4001 4002 20048 ];
|
networking.firewall.allowedTCPPorts = [ 2049 ];
|
||||||
networking.firewall.allowedUDPPorts = [ 111 2049 4000 4001 4002 20048 ];
|
# networking.firewall.allowedUDPPorts = [ 111 2049 4000 4001 4002 20048 ];
|
||||||
fileSystems."/export/containers" = {
|
fileSystems."/export/containers" = {
|
||||||
device = "/Velaris/Containers";
|
device = "/Velaris/Containers";
|
||||||
options = [ "bind" ];
|
options = [ "bind" ];
|
||||||
|
|
@ -13,8 +13,8 @@
|
||||||
mountdPort = 4002;
|
mountdPort = 4002;
|
||||||
statdPort = 4000;
|
statdPort = 4000;
|
||||||
exports = ''
|
exports = ''
|
||||||
/export 10.5.0.2(rw,fsid=0,no_subtree_check)
|
/export 10.5.0.0/24(rw,fsid=0,no_subtree_check)
|
||||||
/export/containers 10.5.0.2(rw,nohide,insecure,no_subtree_check)
|
/export/containers 10.5.0.0/24(rw,nohide,insecure,no_subtree_check)
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue