How to Configure an NFS Share on a Synology NAS

  • Post author:WunderTech
  • Post published:November 27, 2022
  • Post last modified:October 18, 2024
  • Post category:Synology
  • Reading time:6 mins read

This tutorial looks at how to configure an NFS share on a Synology NAS in DSM 7.

There are many reasons why you might want to set up an NFS share, but one of the biggest is that you can give individual IP addresses access to an entire shared folder by default. This means that you can allow individual servers (like Proxmox, which we’ll look at below) to access a shared folder without authenticating with a username and password.

The authentication occurs on the IP address, meaning that the shared folder will be accessible because we are specifying that the IP address of the server can read, or read and write to the shared folder on the Synology NAS. There are many reasons why you might want or need to use an NFS share as opposed to something like an SMB share, and this is a great article explaining the differences.

How to Configure an NFS Share on a Synology NAS

We will look at how to configure an NFS share on a Synology NAS below!

  1. Open the Control Panel on Synology DSM and select File Services then NFS.
enabling nfs in synology dsm. how to configure nfs on a synology nas

2. Select Enable NFS service and then Apply.

NOTE: You can leave the Maximum NFS protocol as NFSv3.

3. Edit the shared folder where you’d like your NFS share to be created.

editing a recently created proxmox folder in synology dsm

NOTE: If you aren’t sure how to create a Shared Folder, you can click this link to learn how.

4. Select NFS Permissions then Create.

editing the nfs persmissions

5. In the NFS rule, add the IP Address of the device that you’d like to access this shared folder. Leave the privilege as Read/Write and then select Allow users to access mounted subfolders if you’d like the device to be able to access subfolders.

setting an ip address that has read/write permissions to dsm

6. Save everything and then log in to the server that you granted permission for above. Since I created the shared folder above for Proxmox, I navigated to Proxmox and added an NFS share. From there, I was able to specify the IP address of my Synology NAS, then access the shared folder (Proxmox) that I created above.

What you can’t see in the screenshot below is that the /volume1/Proxmox location automatically populated since this Proxmox server has access to that shared folder. I can now utilize this shared folder on Proxmox automatically through the NFS share, with authentication happening from the IP address set above!

specifying an id, server IP address, then selecting an nfs share in proxmox

7. The example above utilizes the Proxmox GUI to add an NFS share, but if you’d like to add it using something like Ubuntu or CentOS, you can. There are also many other devices that you can connect to an NFS share with.

NOTE: The final and most important thing you need to remember is that authentication occurs on the IP address, so you should set up a DHCP reservation on your router if possible, and if not, set up the device to use a static IP address so that it doesn’t change! This ensures that the server won’t ever lose access to the NFS share!

Conclusion & Final Thoughts for NFS Shares on Synology DSM

This tutorial looked at how to configure an NFS share on a Synology NAS. NFS shares are extremely versatile and allow you to access shared folders by authenticating with an IP address, which is necessary for certain instances when authenticating with a username and password isn’t possible. The overall process is fairly straightforward on the Synology NAS side, but the client device configuration will be different depending on the type of device that you’re using.

Thanks for checking out the tutorial on how to configure an NFS share on a Synology NAS! If you have any questions, please leave them in the comments!

WunderTech

WunderTech is a website that provides tutorials and guides on various NAS, server, networking, and infrastructure-related topics. WunderTech is maintained by Frank Joseph, an IT professional with 14+ years of experience in corporate IT and application management. He focuses on sharing his experience with others on his WunderTech website and YouTube page. Frank holds a Bachelor of Science in Computer Information Systems and a master of Business Administration (MBA).