Kodi alpha 3 NFS browsing

I had a problem with OSMC not being able to connect to my NFS shares, turns out it was because OSMC connects on high numbered ports.

I hit a snag when accessing the NFS shares from OSMC…

ERROR: NFS: Failed to mount nfs share: /export/Films (mount/mnt call failed with "RPC error: Mount failed with error MNT3ERR_ACCES(13) Permission denied(13)")

Checked the syslog on NobKitten (my server),

NobKitten rpc.mountd[4098]: refused mount request from 192.168.1.15 for /export/Films (/export/Films): illegal port 41473 NobKitten rpc.mountd[4098]: refused mount request from 192.168.1.15 for /export/Films (/export/Films): illegal port 41477 NobKitten rpc.mountd[4098]: refused mount request from 192.168.1.15 for /export/Films (/export/Films): illegal port 41481 NobKitten rpc.mountd[4098]: refused mount request from 192.168.1.15 for /export/Films (/export/Films): illegal port 41485 NobKitten rpc.mountd[4098]: refused mount request from 192.168.1.15 for /export/Films (/export/Films): illegal port 41489 NobKitten rpc.mountd[4098]: refused mount request from 192.168.1.15 for /export/Films (/export/Films): illegal port 41493
I had to set the “insecure” flag on the NFS share and that little problem was solved.

The reason for setting that flag is to allow clients to connect to the server using high port numbers.

This issue was not present with Raspbmc.