nfs
Basic commands
# port 111 - rpcbind
# port 2049 - NFS
$ nmap -sV -p 111,2049 [remote_ip]
...
PORT STATE SERVICE VERSION
111/tcp open rpcbind ...
2049/tcp open nfs ...
# optional: using NSE script
$ nmap --script=nfs-showmount -p 111 [remote_ip]
...# show all the mountable share points
$ showmount -e [remote_ip]
Export list for [remote_ip]:
[server_share_location] [whitelisted_ip_addr]
# eg. client ip addr 10.10.10.10 whitelisted to mount the share /volume/test
# from remote address 8.8.8.8
$ showmount -e 8.8.8.8
Export list for 8.8.8.8:
/volume/test 10.10.10.10Important notes
Last updated