Page 1 of 1

NFS denies access

Posted: Wed Jan 30, 2013 3:13 pm
by connexion2000
Hi,
I have configured NFS on my gargoyle router to let in only IPs from my subnet. I have computers and router configured like that 192.168.1.x.

So in gargoyle configuration I specifed in NFS access policy: 192.168.1.0/24.
However I get access denied when trying to access share. Restarting NFS service fixes the problem, but after reboot it appears again.

How can I fixed that permanently?

Re: NFS denies access

Posted: Wed Jan 30, 2013 4:36 pm
by connexion2000
It is probably bug in gargoyle.
Logread gives:

Code: Select all

Jan 30 21:31:11 r2 daemon.warn rpc.mountd[1735]: refused mount request from 192.168.1.20 for /tmp/usb_mount/1AEC526CEC524265 (/): not exported
exportfs gives:

Code: Select all

/tmp/usb_mount/1AEC526CEC524265
                192.168.1.3
/tmp/usb_mount/1AEC526CEC524265
                192.168.1.20
/tmp/usb_mount/1AEC526CEC524265
                192.168.1.21
/tmp/usb_mount/1AEC526CEC524265
                192.168.1.22
But those exports works after exportfs -r.
Next is second bug, because above directories are empty because
disk is mounted in /tmp/share_home/jacek/Media_R2

Is it error in my configuration or in gargoyle?