Firewall setting for NFS Shares

mx738

New Member
Jan 18, 2022
13
0
1
48
Hello,

i need help for the Firewall settings for NFS Shares in VM's.
My Proxmox Server has 3 different LAN Interfaces for WAN LAN and DMZ.
I have different VM and container in this networks.

My Problem:
In the DMZ i have a Debian11 VM and try to connect an NFS Share from my NAS in the LAN Network. Everything is fine as long the Proxmox Datacenter Firewall is off.
I add follow rules:
TCP in Port 111
UDP in Port 111
TCP in Port 2049
UDP in Port 2049

With "rpcinfo -p | awk '{print $3" "$4}' | sort -k2n | uniq" on my NAS i found out that also some more Ports are needed, so i add them too.

TCP in Port 892
UDP in Port 892
TCP in Port 4045
UDP in Port 4045

but stil, as soon i switch on the Firewall in Proxmox i can't get access to NFS Shares.
With activated Firewall i can ping the NAS System, but NFS i can't get working.

Can somebody tell me, what i miss?

Kind Regards