loki: Use different ports for NFS lockd, mountd and statd

This commit is contained in:
Erwin Boskma 2022-10-03 19:44:17 +02:00
parent 99fbc076c9
commit 8be25ca777
Signed by: erwin
GPG key ID: 270B20D17394F7E5

View file

@ -82,7 +82,7 @@ in
# interfaces."enp4s0" = { # interfaces."enp4s0" = {
allowedTCPPorts = [ allowedTCPPorts = [
# NFS # NFS
111 2049 4000 4001 4002 20048 111 2049 4100 4101 4102 20048
# Horus System V2 # Horus System V2
12345 5555 5556 12345 5555 5556
@ -96,7 +96,7 @@ in
allowedUDPPorts = [ allowedUDPPorts = [
# NFS # NFS
111 2049 4000 4001 4002 20048 111 2049 4100 4101 4102 20048
]; ];
allowedTCPPortRanges = [ allowedTCPPortRanges = [
@ -141,9 +141,9 @@ in
exports = '' exports = ''
/home/erwin/proxmox-backup 10.0.0.0/24(rw,sync,no_subtree_check,anonuid=1000,anongid=100,all_squash) /home/erwin/proxmox-backup 10.0.0.0/24(rw,sync,no_subtree_check,anonuid=1000,anongid=100,all_squash)
''; '';
lockdPort = 4001; lockdPort = 4101;
mountdPort = 4002; mountdPort = 4102;
statdPort = 4000; statdPort = 4100;
}; };
sops.defaultSopsFile = ./secrets.yaml; sops.defaultSopsFile = ./secrets.yaml;