Hi, Im setting up a NFS server in Ubuntu 16.04 for my IT studies and i have to configure hosts.deny and hosts.allow to deny a pc from using nfs, I can't deny it in /etc/exports (that would be way easier) because I have to do it with hosts.deny.
I've read in internet that newer versions of NFS doesn't use TCP Wrappers so hosts.deny and the other one are useless now but my teacher says that you can still use it...
Anyway, this is my code in hosts.deny:
And this is my code in hosts.allow:
If someone know why it isn't blocking the hosts I would appreciate some help.
(Sorry for my eng I'm from Spain)