One NFS server to multiple clients

How do I set up an NFS server to multiple clients? I have set up an NFS server but it does only share to one client.


In your /etc/exports file, you can either use a wildcard:

/path/to/share    *(rw,sync,etc)

Or you can use CIDR notation

/path/to/share    10.0.0.0/24(rw,sync) 

Or you can put multiple IPs in line like so:

/path/to/share    10.0.0.5(rw) 10.0.0.6(ro) 

This website quite clearly explains how to setup NFS Server and Clients. It helped me setup my first lot.

https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-ubuntu-14-04

Give it a shot and you'll find yourself never using samba nor CIFS ever again!