NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 8.0-BETA NFS Server over OpenVPN: mount_nfs: can't access /: Permission denied



Andreas Beck schrieb:

=> Hello,
=>
=> i want to use nfsd via openvpn (openvpn runs on udp).
=> Both, Server and Client are NetBSD8-BETA
=>
=> When I want to mount from the client, i get this error:
=> mount_nfs: can't access /: Permission denied
=>
=> [...]
=>
=> /etc/exports
=> /      -network 10.8.0.0 -mask 255.255.255.255 -maproot=root
=>
=> Ive created for testing a hosts.allow with ALL: ALL.
=> There is no hosts.deny.
=>
=> Best Regards,
=> Andreas
=>

Does "/etc/rc.d/mountd reload" or "/etc/rc.d/mountd restart" help? If
the openvpn network doesn't exist when mountd starts then it may not be
setting up the exports properly.

                              Gary Duzan



Hi Gary,
reloading or restarting from mountd isnt fixing the problem, after restarting mountd, the same problem.
mount_nfs: can't access /: Permission denied

Andreas
With:
/      -network 127.0.0.0 -mask 255.0.0.0 -maproot=root
and mounting from local, absoluty no problem.

NFSD over openvpn is under all system always an annoyance and must set certain options so that it works.

Regards,
Andreas


Home | Main Index | Thread Index | Old Index