Hi all
I am trying to set up an nfs server on say computer A running kubuntu 14.04.
my exports are
/home/usr/tmp *(rw,no_subtree_check,sync)
I am aware that now everyone who has the ip adresse of the host can mount /home/usr/tmp.
However, given what I have read in the NFS tutorial, hosts.allow/hosts.deny can put another barrier between the outside and the server. Thus my hosts.allow
ALL: 127.0.0.1
sshd: ALL
rpcbind mountd nfsd statd lockd rquotad : 127.0.0.1
portmap : 127.0.0.1
my hosts.deny
ALL: ALL
rpcbind mountd nfsd statd lockd rquotad : ALL
portmap: ALL
But I still can mount the file system from computer B, running kubuntu 14.04 as well, with "sudo mount.nfs4 server-ip:/home/usr/tmp /mnt/".
Thus, the nfs daemon is not evaluating the allow/deny settings (In fact I expect host.deny to work with ALL: ALL already, but thad didn't work either). Since the allow/deny setting are explicitly mentioned here https://help.ubuntu.com/community/SettingUpNFSHowTo
I currently don't know what I have done wrong.
Any idea
Cheers
Karl
Bookmarks