NFS unprivileged port

Status
Not open for further replies.

obeone

Cadet
Joined
Aug 25, 2012
Messages
7
Hi,

I cannot find how to allow connection from unprivileged port on NFS. I found someting about the option nfs_reserved_port_only in rc.conf but it's seem to not work on FreeNAS 8.2.

I need that for XBMC.

Any idea of how to enable that ?

Thank you
 

obeone

Cadet
Joined
Aug 25, 2012
Messages
7
I found a dirty solution :
Modifying line mountd_flags in /etc/defaults/rc.local to add -n switch.
The line looks like after that :
mountd_flags="-nr" # Flags to mountd (if NFS server enabled).

But it might be better to have a checkbox in the web interface
 

obeone

Cadet
Joined
Aug 25, 2012
Messages
7
Finally, bad solution...
This file is replaced on reboot, so we have to edit the file after each reboot.

Does anyone have a cleaner solution ?
 

obeone

Cadet
Joined
Aug 25, 2012
Messages
7
Ho yes true, if it's not rw, it will not work.
I don't know why but my freenas crash on mount rw, but if I do quick, I can modify it before crash...

Thanks
 
Status
Not open for further replies.
Top