So today I was trying to mount an NFS export from a machine that was behind a NAT1. The “/etc/exports” file was correct but I kept getting “access denied” errors.
It turns out that, by default, the NFS server is only allowing access to clients when the originating port is a reserved port (< 1024) but the NAT machine in the middle was mangling the originating port to something else.
Adding “insecure” to the exports for that machine did the trick.
- Yeah I know NAT must die ↩︎