When attempting to mount a NFS datastore on an ESXi host, the operation fails with one or more of the following:
Error: "Esxi host does not have proper firewall rule for nfs server <IP_ADDRESS>".Error: "com.sun.xml.ws.fault.ServerSOAPFaultException: Permission to perform this operation was denied".VMware ESXI 8.x.
VMware vSphere 8.x.
The ESXi NFS firewall is configured with an invalid subnet mask, and the vCenter service account lacks specific host-level storage configuration privileges.
Correct the ESXi Firewall:
SSH to the affected ESXi host.
Run esxcli storage nfs firewall list to identify the incorrect mask.
Add the specific IP using a /32 mask: esxcli storage nfs firewall add --F <Correct_IP>/32.
Update vCenter Permissions:
Navigate to Administration > Roles in vCenter.
Edit the service user role and ensure Host > Configuration > Storage partition configuration is checked.
Navigate to the Cluster/Host > Permissions and ensure the service user is assigned this role with Propagate to children enabled.