Synology Settings for NFS

Mar. 6, 2020

I’ve been using a Synology NAS on my home network for several years. They make a great product for anyone who wants a simple NAS with lots of flexibility. I use it to pass files between systems on my network quite a bit. Here’s a quick walkthrough of settings within Synology’s DSM to enable mounting the NAS over the network.

Synology allows you to create Shared Folders each with its own settings for permissions, sharing, encryption, ect. You can think of these as separate logical volumes all on the same NAS device. I’ve got shares for backups, files, photos, Plex, and a home share for each user.

For these steps, I’m running Synology DSM version 6.2.2-24922 Update 4 on a DS216j. Most of the guides on Synology’s own site are outdated, referencing DSM 5 or earlier.

In this example, I’ll be creating a shared folder called backups, granting NFS permissions for and mounting it to my RaspberryPi.

Create the Shared Folder

Navigate to the Synology DSM, open the Control Panel and select Shared Folder.

Edit Shared Folder NFS Permissions

Once the folder has been created, we have to allow NFS access for the RaspberryPi to connect to the shared folder on the Synology NAS. We do this by adding an NFS rule mapped to the IP address of the Pi (192.168.1.62).

Enable NFS Access through the Synology Firewall

If you have the Synology NAS built in firewall active, you’ll need to enable rules to allow the required NFS ports. If your firewall is disabled, you can skip this step.

Mount NAS folder to the Pi

Done

Not too bad! You now have access to the shared folder to use it however you need. You can also mount other shares by creating new mount points and following the same set of instructions to enable NFS access. Using the same RaspberryPi and Synology NAS, I have /mnt/backups and /mnt/files attached for different purposes. Neat!

Let me know if you have questions or if there’s something I missed.