Security notice: Synology owners, install the latest DSM update now. It blocks the sign-in exploit used by the C3RB3R ransomware. What to do →

Blog · Networking

Synology ports: the DSM default ports list, and which ones you should never forward (2026)

Your Synology NAS speaks through a couple of dozen network ports, and sooner or later a router, a firewall or a forum post asks you which ones. Here's the list that matters, taken from Synology's own documentation, plus a screenshot of where DSM keeps its ports, how to change them, and a blunt traffic-light guide to forwarding. Spoiler: the shortest list is the best one.

Updated November 16, 2026 · 8 min read

TL;DR

  • DSM default ports: 5000 (HTTP) and 5001 (HTTPS). Synology Photos, File Station and most mobile apps ride on the same two.
  • File sharing: SMB is 445, AFP 548, NFS 2049 plus helpers, WebDAV 5005/5006, SSH/SFTP 22.
  • Change them in Control Panel → Login Portal. Useful for clashes, not much for security.
  • Never forward SMB, port 5000, SSH or Telnet. If you forward anything, make it one VPN port.
  • Behind CGNAT, no forwarded port works at all. You need a tool where the NAS dials out.
Port forwarding on a Synology NAS, as a traffic light
Diagram: Synology ports grouped by forwarding risk. Red, never forward: SMB 445 and 139, DSM HTTP 5000, SSH 22, Telnet 23, FTP 21. Amber, only with care: DSM HTTPS 5001, Web Station 80 and 443, Drive 6690. Green, the sensible one: OpenVPN UDP 1194. Below, a blue option with zero open ports, where the NAS connects outward. Never forward 445 · 139SMB file sharing 5000DSM over plain HTTP 22SSH / SFTP 23 · 21Telnet, FTP Bots knock on these all day. Only with care 5001DSM over HTTPS 80 · 443Web Station sites 6690Drive Client sync 2FA, Auto Block, patched DSM. The sensible one 1194 UDPOpenVPN One port in. Everything else stays private behind it. Needs a real public IP. Zero ports: the NAS dials out QuickConnect, Tailscale, Cloudflare Tunnel, RocketZero. Nothing listens on the internet, and it works behind CGNAT.
Our advice, not Synology's. The fewer ports you forward, the less there is to patch in a panic.

Synology default ports: DSM 5000 and 5001

Out of the box, DSM listens on TCP 5000 for HTTP and TCP 5001 for HTTPS. That's the address you type as http://192.168.1.10:5000, and it's busier than it looks: File Station, Synology Photos, Download Station, Surveillance Station, Calendar, Chat, Contacts and Note Station are all web apps inside DSM, so they share the same two ports. So do nearly all of Synology's mobile apps (DS file, DS get, DS audio, DS cam, the Synology Photos and Synology Drive apps).

That's convenient on your LAN, and slightly alarming when you realise forwarding “just Photos” means forwarding the whole DSM login page. One port, many doors, and the admin console is one of them.

Synology DSM 7 Control Panel Login Portal showing the default DSM ports: 5000 for HTTP and 5001 for HTTPS, with the option to redirect HTTP to HTTPS
Control Panel → Login Portal → DSM, captured today from DSM 7.2 in our lab. These are the defaults: 5000 and 5001, with the HTTPS redirect off.

The Synology ports list (the ones you'll actually meet)

Synology's knowledge-base article lists well over a hundred ports, including MailPlus' impressive collection and a section on eMule. Here are the ones home and small-office NAS owners run into, straight from that list (last updated by Synology on 1 October 2026):

ServicePort(s)ProtocolNotes
DSM web UI5000 (HTTP), 5001 (HTTPS)TCPAlso File Station, Synology Photos, Download Station, Surveillance Station, Calendar, Chat, Note Station
Synology mobile apps5000, 5001TCPDS file, DS audio, DS cam, DS get, DS video, Synology Photos, Synology Drive app
SMB / Windows file sharing445, 139 (TCP/UDP); 137, 138 (UDP)TCP/UDPWhat a mapped drive uses
AFP (old Mac sharing)548TCPLegacy; macOS uses SMB now
NFS111, 662, 892, 4045, 2049TCP/UDPLinux and VMware clients
WebDAV5005 (HTTP), 5006 (HTTPS)TCPAlso a Hyper Backup destination
FTP / FTPS21, 20, passive 1025–65535TCPPassive range is configurable, and should be
SSH / SFTP22TCPrsync over SSH also uses it
Telnet23TCPOff by default. Leave it that way
rsync / Hyper Backup873 (22 if encrypted)TCPNAS-to-NAS backup
Hyper Backup Vault6281, 5000, 5001TCPBackup target on DSM 7
Snapshot Replication5566, 5000, 5001TCPShared folders and LUNs
Synology Drive Server6690, 5000, 5001, 80, 443TCP6690 is Drive Client sync; 80/443 for share links
Web Station / Photo Station80, 443TCPYour own websites; legacy Photo Station
Active Backup for Business5510TCPAgent to NAS
VPN Server: OpenVPN1194UDPChangeable in the package
VPN Server: L2TP/IPSec500, 1701, 4500UDP
VPN Server: PPTP1723TCPPlus GRE passthrough. Obsolete
iSCSI3260 (also 3263, 3265)TCPSAN Manager targets
Media Server (DLNA)1900, 50001, 50002TCP/UDPLAN streaming to TVs
Synology Assistant9997, 9998, 9999UDPFinding the NAS on your LAN
SNMP161TCP/UDPMonitoring
Bonjour5353UDPDiscovery on the LAN

Most of these only listen if you've turned the service on. A fresh DSM doesn't run FTP, Telnet, NFS or WebDAV until you enable them in Control Panel → File Services or Terminal & SNMP. Which is one more reason to check what's enabled before you open anything.

How to change the DSM ports (5000/5001)

  1. Open Control Panel → Login Portal (on DSM 6 this lived under Network → DSM Settings).
  2. On the DSM tab, under Web Services, change DSM port (HTTP) and DSM port (HTTPS). Pick something above 1024 that nothing else uses.
  3. Tick Automatically redirect HTTP connection to HTTPS while you're here. There's no good reason to log in over plain HTTP.
  4. Click Save. Your browser loses the connection. Reopen DSM on the new port, and update bookmarks, port-forwarding rules and the firewall.

Before you feel safer: moving DSM to port 5821 hides it from bots that only check the defaults, and from nobody else. A scanner that sweeps all 65,535 ports finds the login page anyway. Changing ports is like moving your front door two metres to the left. Handy if the old spot clashes with something (the Applications tab lets you give individual apps their own ports, too), but it's not a lock.

Which Synology ports to forward (and which never to)

Every forwarded port is a service that strangers can reach, so the question isn't “which ports does Synology use” but “which ones am I willing to defend”. Here's our take:

PortForward it?Why
445, 139, 137, 138 — SMB✗NeverThe most-attacked file protocol on the internet. Many ISPs block 445 outright
5000 — DSM over HTTP✗NeverYour admin password in plain text, to anyone on the path
22 — SSH✗NoBots try passwords on port 22 all day, every day
23 — Telnet, 21 — FTP✗NoUnencrypted logins. FTP's passive range also means opening thousands of ports
5001 — DSM over HTTPS~Only with carePuts your login page on the internet. HTTPS, 2FA, Auto Block, and a patched DSM are the minimum
80, 443 — Web Station~If you host a siteFine for a public website, preferably behind a reverse proxy rather than straight into DSM
6690 — Drive Client~If you mustExposes the Drive service. Drive Client also works over QuickConnect
1194 UDP — OpenVPN✓The sensible oneOne port, and everything else stays private behind it. Needs a real public IP

The pattern: services that ask for a password shouldn't face the internet, and on a NAS that's nearly all of them. That's not hypothetical. Outdated Synology boxes with exposed logins are being hit by ransomware right now. If you need DSM from outside, the safer patterns are a VPN (one port, see how to set up Synology VPN Server) or a reverse proxy on 443 with a proper certificate, never a raw forward of 5000.

And whatever you forward, turn on DSM's firewall, Auto Block and 2-factor sign-in, and keep DSM updated. Security Advisor in DSM will happily nag you about most of this.

Forwarded the port and it still doesn't work?

The zero-port option: let the NAS dial out

The ports you never forward can't be attacked from the internet, and can't break when your ISP switches you to CGNAT. That's the idea behind every tool where the NAS makes an outbound connection instead of waiting for one. QuickConnect does this for DSM and Synology's apps (via Synology's relay when it can't go direct). Tailscale gives you a whole private network. Cloudflare Tunnel publishes web apps on your own domain. All three are good at what they do.

If what you actually wanted from port 445 was your NAS as a drive, that's the job RocketZero does. Install the package on the NAS and the desktop app on Windows or macOS, sign in with your existing DSM username and password, and your shares appear as real network drives: Z: in Explorer, or in Finder. No port forwarding, no DDNS, works behind CGNAT. The drive runs over WireGuard, peer-to-peer when the network allows and through an encrypted relay when it doesn't, end-to-end encrypted either way. Your router's port-forwarding page can stay blissfully empty.

Windows This PC showing Synology NAS shares mounted as network drives from outside the home network with no ports forwarded
The NAS in Windows' “This PC” as ordinary drives, with nothing forwarded on the router. Real capture from our Windows lab.

The honest small print: RocketZero also gives your NAS an <id>.roze.to address that opens DSM and its web apps in a browser, but that path is a hosted reverse proxy with TLS terminated at our relay (the Cloudflare Tunnel model), so it isn't end-to-end encrypted. Only the drive is. It doesn't carry Synology Drive Client's port 6690, and DSM's 2FA protects the web UI, not the drive mount, so use a dedicated account with a strong password.

RocketZero ships today for Synology DSM 7, OpenMediaVault 7 and TrueNAS SCALE, with desktop apps for Windows and macOS (on first launch on macOS you'll need to allow it in System Settings → Privacy & Security). Setup walkthrough: the RocketZero setup guide.

Forward a port if…

  • you have a real public IP and control the router;
  • it's one VPN port, or a website you're happy to maintain;
  • you'll keep DSM patched and 2FA on.

Forward nothing if…

  • you're behind CGNAT, or can't touch the router;
  • you'd rather have no login page on the internet;
  • you just want your NAS as a drive: download RocketZero.

FAQ

What are the default Synology DSM ports?

DSM uses TCP 5000 for HTTP and TCP 5001 for HTTPS. File Station, Synology Photos, Download Station, Surveillance Station and most Synology mobile apps use the same two ports. You can see and change them in Control Panel → Login Portal → DSM.

Should I change port 5000 and 5001?

Changing them hides DSM from the laziest scanners, and that's about it. A full port scan still finds the login page in minutes. It's fine to do, but it's not security. The real fix is not exposing DSM to the internet at all: use a VPN or a tool where the NAS connects outward.

What port does Synology Photos use?

Synology Photos runs inside DSM, so it uses 5000 (HTTP) and 5001 (HTTPS), both in the browser and in the mobile app. The older Photo Station and the DS photo app used 80 and 443 instead.

What port does Synology Drive use?

Synology Drive Server uses TCP 6690 for syncing and backup from Drive Client, plus 5000/5001 for the web portal and the mobile app, and 80/443 for link sharing.

Which port does SMB use on Synology?

SMB uses TCP 445 (and 139 for the old NetBIOS session service), with UDP 137 and 138 for NetBIOS name and datagram services. Never forward any of them to the internet. Many ISPs block 445 anyway, and SMB is a favourite target for worms and ransomware.

Does QuickConnect need port forwarding?

No. QuickConnect has the NAS connect out to Synology's servers, so you don't open any port on the router. When a direct path isn't possible, traffic goes through Synology's relay, which is why it can be slow.

Can I access my Synology NAS remotely without opening any ports?

Yes. Anything where the NAS dials out works without inbound ports, including behind CGNAT: QuickConnect, Tailscale, Cloudflare Tunnel and RocketZero. RocketZero mounts the NAS as a real network drive on Windows or macOS over WireGuard, with no port forwarding and no DDNS.

Close the ports. Keep the drive.

RocketZero mounts your NAS as a drive from anywhere: no port forwarding, no DDNS, works behind CGNAT, no extra account. Free to get started.

Download RocketZero Read the setup guide