Accessing Synology NAS via DDNS URL with pfSense
In this article, we will discuss how to access a Synology NAS device remotely using the Synology Drive feature and a dynamic DNS (DDNS) URL, with the help of a pfSense box serving a home network. This guide will provide a detailed context of the topic, covering key concepts and subtitles.
Prerequisites
To follow this guide, ensure you have the following:
- A new Synology DiskStation NAS
- Synology Drive feature enabled
- A pfSense box serving your home network
- A dynamic DNS (DDNS) service
Setting up DDNS on pfSense
First, you need to configure DDNS on your pfSense box. Log in to the pfSense web interface and follow these steps:
- Navigate to Services > Dynamic DNS.
- Click the + button to add a new provider.
- Select your DDNS provider from the dropdown list.
- Enter your DDNS account details and hostname.
- Click Save and then Apply Changes.
Enabling Synology Drive
Next, enable the Synology Drive feature on your NAS device:
- Log in to your Synology NAS web interface.
- Navigate to Control Panel > Synology Drive.
- Click the Enable Synology Drive button.
- Configure your preferences and click Apply.
Configuring Port Forwarding
Now, configure port forwarding on your pfSense box to allow remote access to your Synology NAS:
- Navigate to Firewall > NAT.
- Click the + button to add a new port forwarding rule.
- Configure the following settings:
- Interface: WAN
- Protocol: TCP/UDP
- Destination: WAN address
- Destination port range: Synology Drive port (default: 5000-5001)
- Redirect target IP: Synology NAS LAN IP
- Redirect target port: Synology Drive port
- Click Save and then Apply Changes.
Accessing Synology NAS Remotely
To access your Synology NAS remotely, use the following URL format:
https://: Replace with your DDNS hostname and with the Synology Drive port number.
In this article, we have discussed how to access a Synology NAS device remotely using the Synology Drive feature and a dynamic DDNS URL with a pfSense box serving a home network. By setting up DDNS, enabling Synology Drive, and configuring port forwarding, you can securely access your files from anywhere.
References
- Synology Drive: https://www.synology.com/en-global/dsm/feature/synology_drive
- pfSense Port Forwarding: https://docs.netgate.com/pfsense/en/latest/nat/port-forward-troubleshoot.html