synology nas port forwarding

Synology NAS Port Forwarding: The Ultimate Guide to Remote Access

By William Martin
AD

Configuring Synology NAS port forwarding is often the first hurdle for users who want to access their home server securely from outside the local network. While the concept of opening ports on a router can sound technical, the process becomes straightforward once you understand the core principles of networking and the tools Synology provides. This guide cuts through the complexity, offering a clear, step-by-step approach to setting up remote access without compromising your security.

Understanding the Role of Port Forwarding in Synology NAS

At its core, port forwarding is the mechanism that directs internet traffic to a specific device inside your private network. Your Synology NAS sits behind a router with a local IP address (like 192.168.1.10), which is not directly reachable from the public internet. By defining a port forwarding rule, you tell your router: "If someone connects to my public IP on port 6600, forward that traffic to the Synology's local IP on port 5000." This is essential for Synology applications like DSM, QuickConnect alternatives, and remote access to your files.

Planning Your Network Architecture

Before diving into the router settings, take a moment to map out your environment. You need to identify three critical components: your public IP address, the specific services you want to expose, and the internal IP of your Synology. It is highly recommended to assign a static IP to your NAS via the router's DHCP reservation. This ensures the forwarded ports always point to the same device, preventing service outages caused by the NAS receiving a new IP address after a reboot.

AD
Synology VS QNAP
Synology VS QNAP
Mise à niveau NAS Synology : 2,5 gigabits avec adaptateur LAN USB
Mise à niveau NAS Synology : 2,5 gigabits avec adaptateur LAN USB
Synology NAS Remote Access Using QuickConnect, EZ Internet or Port Forwarding
Synology NAS Remote Access Using QuickConnect, EZ Internet or Port Forwarding

The Security Trade-off

Opening ports to the internet inherently increases your attack surface. Every open port is a potential entry point for malicious scans. Therefore, port forwarding should be viewed as a last resort when alternatives like Synology QuickConnect, VPN, or a secure bastion host are not viable. If you must proceed, complement port forwarding with robust security measures, including strong passwords, two-factor authentication (2FA), and the principle of least privilege for shared folders.

Step-by-Step Configuration on Synology DSM

The Synology DiskStation Manager (DSM) provides a user-friendly interface that simplifies the port forwarding process. You do not need to manually calculate ports for every service if you use the built-in tools. Navigate to Control Panel, then look for the Network or Connectivity section. Here, you can configure Application Portal settings and customize the ports for specific DSM services, ensuring consistency between the DSM interface and the manual rules you create on your router.

Running Pi-hole on a Synology NAS
Running Pi-hole on a Synology NAS
Synology DiskStation DS124 NAS/storage server Desktop Realtek RTD1619B 1 GB DDR4 0 TB DiskStation Manager Black
Synology DiskStation DS124 NAS/storage server Desktop Realtek RTD1619B 1 GB DDR4 0 TB DiskStation Manager Black
Enable Remote Access To Your Synology NAS Running DSM 7 With DDNS And Port Forwarding
Enable Remote Access To Your Synology NAS Running DSM 7 With DDNS And Port Forwarding
Synology Service Default DSM Port Recommended External Port
Web Interface / DSM 5000 (HTTP) / 5001 (HTTPS) 8080 / 8443 (or a custom high port)
QuickConnect Alternative 6600 6600
File Station / WebDAV 5005 5005

Configuring the Router Firewall

Accessing your router's admin panel is the next step. Locate the port forwarding or virtual server section, often hidden under Advanced or NAT settings. Create a new rule for each service you are exposing. For example, to access DSM securely from the internet, you would map an external port (e.g., 8443) to the Synology's local IP address on port 5001. It is a best practice to avoid well-known ports (like 80 or 443) on your public interface to deter casual bots and improve obscurity.

Verifying the Connection

After saving the rules, you must verify that the forwarding is active. Use the "Test Port" functionality available in many modern router firmwares, or check the status of the rules in the device's command line. From an external network—such as a 4G mobile hotspot—attempt to connect using your public IP and the external port. If the connection fails, double-check the Synology firewall settings, ensure the DSM application is running, and confirm that your ISP is not blocking common residential ports.

AD

Maintaining Long-term Security and Reliability

Port forwarding is not a "set it and forget it" solution. Regular maintenance is required to keep your Synology NAS secure and operational. Monitor the logs in DSM for any unauthorized access attempts, and update your router firmware to patch potential vulnerabilities. Consider implementing IP access rules to limit connections to specific countries or trusted networks. By treating port forwarding as a dynamic component of your security strategy rather than a static setup, you ensure reliable and safe access to your Synology resources for years to come.

How to enable FTP on a Synology NAS
How to enable FTP on a Synology NAS
Synology NAS Setup Secrets Every Beginner Needs to Know in 2025
Synology NAS Setup Secrets Every Beginner Needs to Know in 2025
Synology DNS Server - Quick Start
Synology DNS Server - Quick Start
When and How to Reset My Synology NAS
When and How to Reset My Synology NAS
How to Setup a Synology NAS for the First Time | 4K TUTORIAL
How to Setup a Synology NAS for the First Time | 4K TUTORIAL
How to Enable and use NFS on a Synology NAS
How to Enable and use NFS on a Synology NAS
Ransomware Protection: The Complete Guide for Synology NAS
Ransomware Protection: The Complete Guide for Synology NAS
Synology's BEST Applications! (Top 5)
Synology's BEST Applications! (Top 5)
Keep Multiple Synology NAS in Sync with Synology Drive Sync
Keep Multiple Synology NAS in Sync with Synology Drive Sync
Synology DiskStation DS213+ NAS Server Review
Synology DiskStation DS213+ NAS Server Review
How to use Synology Drive for remote NAS access to your documents
How to use Synology Drive for remote NAS access to your documents
Much Storage, So Backup - Our NEW Synology NAS!
Much Storage, So Backup - Our NEW Synology NAS!
Conseils. Quel serveur nas choisir ? Comparatif nas ! Synology ? - Réseau VDI
Conseils. Quel serveur nas choisir ? Comparatif nas ! Synology ? - Réseau VDI
Essential Synology NAS settings all owners should setup
Essential Synology NAS settings all owners should setup
QNAP TurboNAS TS-259 Pro+ NAS Server Review
QNAP TurboNAS TS-259 Pro+ NAS Server Review
Synology DS1618+ 6 Bay Desktop NAS
Synology DS1618+ 6 Bay Desktop NAS
QNAP TurboNAS TS-119P II NAS Server Review
QNAP TurboNAS TS-119P II NAS Server Review
How to Manage User Permissions on Your Synology NAS
How to Manage User Permissions on Your Synology NAS
Synology RackStation RS422+ 4-Bay NAS Enclosure, Diskless
Synology RackStation RS422+ 4-Bay NAS Enclosure, Diskless
QNAP TurboNAS TS-469U-RP NAS Server Review
QNAP TurboNAS TS-469U-RP NAS Server Review
AD