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.

  • WHat does /etc/exports contain? Have you added the other clients IPs or hostnames to it? – muru Apr 16 '15 at 8:41

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

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

Or you can use CIDR notation


Or you can put multiple IPs in line like so:

  • 1
    +1 for adding CIDR blocks, just what I was looking for – fusion27 Jan 19 '20 at 15:57

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


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

  • 1
    From "Ask Ubuntu Help": Links to external resources are encouraged, but please add context around the link so your fellow users will have some idea what it is and why it’s there. Always quote the most relevant part of an important link, in case the target site is unreachable or goes permanently offline. – Boris Oct 4 '15 at 7:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.