[custom-header-login]
Weight | 3 |
Description | Candidates should be able to export filesystems using NFS. This objective includes access restrictions, mounting an NFS filesystem on a client and securing NFS. |
Key Knowledge Areas:
- NFS version 3 configuration files
- NFS tools and utilities
- Access restrictions to certain hosts and/or subnets
- Mount options on server and client
- TCP Wrappers
- Awareness of NFSv4
The following is a partial list of the used files, terms and utilities:
- /etc/exports
- exportfs
- showmount
- nfsstat
- /proc/mounts
- /etc/fstab
- rpcinfo
- mountd
- portmapper
For this we are using Debian Wheezy 7.4
apt-get install nfs-kernel-server
update-rc.d nfs-kernel-server defaults
vi /etc/exports
service nfs-kernel-server restart
showmount -e
rpcinfo -p
/etc/hosts.deny
rpcbind: 192.168.0.3