# Connecting Server Directory to Synology NAS (NFS Setup)

This is a step-by-step document on how to connect a server directory to a Synology NAS using NFS. This guide assumes you have access to both the server and the Synology NAS.

##### Prerequisites

 Access to a server (Linux-based).  
 Access to a Synology NAS.  
 NFS service enabled on the Synology NAS.  
 Sufficient permissions to execute commands on both devices.

#### Configure NFS on Synology NAS

1. Access Synology NAS
2. Enable NFS Service by Going to **Control Panel &gt; File Services**
3. Under the NFS tab, enable the NFS service
4. Configure NFS Permissions: 
    1. Navigate to Shared Folder in Control Panel
    2. Select the folder you want to share (e.g., /volume1/paperless-documents)
    3. Click on Edit &gt; NFS Permissions
    4. Click Create and set the following: 
        1. Hostname or IP: Enter the IP address of your server
        2. Privilege: Set to Read/Write
        3. Squash: Select No mapping to allow direct access
        4. Asynchronous: Optional, you can enable this for better performance
        5. Cross-Mount: Enable if you intend to mount cross-shared folders
        6. Check Allow users to access mounted subfolders
5. Click **OK** to save the settings

![Screenshot From 2026-01-25 16-57-01.png](https://docs.cyberpaw.org/uploads/images/gallery/2026-01/scaled-1680-/screenshot-from-2026-01-25-16-57-01.png)

#### Prepare Your Server

1. SSH into your server
2. Install NFS Client

```bash
sudo apt-get update
sudo apt-get install nfs-common
```

3. Create mount point- a directory where the NFS share will be mounted

```bash
sudo mkdir -p /mnt/nas/Import
```