Skip to content
Network and Access

Port Forwarding for NAS: Common Mistakes

The forwarded rule looks perfect in your router, yet remote access still fails. Here is why, and how to fix each cause fast.

white router on white table

A friend called me on a Sunday morning, panicking because he could reach his Synology from the couch but not from his phone at the coffee shop. He had spent two hours re-typing the same port rule into his router, convinced he had fat-fingered something. He had not. The rule was fine. The problem was three feet away, sitting behind his ISP's modem.

Port forwarding for a NAS is one of those tasks that feels like it should take ninety seconds and instead eats an entire afternoon. The settings pages are clear enough. The trap is that most of the failures happen outside the screen you are staring at.

Here are the mistakes I see over and over, and exactly how to catch each one.

Mistake 1: Pointing the rule at the wrong internal IP

This is the number one killer, and it is sneaky because the rule works for a few days and then quietly dies. You forward external port 5001 to 192.168.1.42, everything is great, then the NAS reboots after a firmware update and comes back up as 192.168.1.57. Now your rule points at nothing.

The culprit is DHCP. Your router hands out addresses on a lease, and there is no promise the NAS keeps the same one. When the address moves, the forward is stranded.

On a Synology you can confirm the current address under Control Panel, Network, Network Interface. On a QNAP it is under Network and Virtual Switch. Write it down, reserve it, then build the forward. In that order.

Person holding a funny internet security sticker about open ports.

Mistake 2: Double NAT, the silent afternoon-killer

This was my friend's actual problem. His ISP had shipped a combined modem-router, and he had plugged his own router behind it. Two routers, two separate private networks, two layers of address translation. His port forward on the inner router was perfect, but the outer ISP box never knew to send traffic inward.

You have double NAT if your router's WAN address starts with 192.168, 10., or a 172.16 to 172.31 range. Those are private ranges. A real public-facing router shows a genuine public address there.

Two ways out. Put the ISP modem into bridge mode so it stops routing and just passes the public address to your router. Or, if bridge mode is not available, set your NAS's router IP as the DMZ host on the ISP box so all inbound traffic flows to it, then let your inner router handle the specifics.

A growing number of ISPs now use CGNAT, carrier-grade NAT, where you share one public address with dozens of other customers. No amount of forwarding fixes that, because you never had a public address to begin with. Call the provider and ask for a real one, or skip forwarding entirely and use a reverse-tunnel service instead.

Mistake 3: Exposing the admin port to the open internet

This one does not break access. It breaks your security, and it is the mistake that actually costs people their data.

The default Synology admin port is 5000 (5001 for HTTPS). QNAP uses 8080 and 443. If you forward those raw admin ports straight to the internet, you have put the login page for your entire storage system in front of every bot on earth. They will find it within hours. I have watched a fresh NAS rack up hundreds of failed login attempts in a single evening.

The 2021 wave of ransomware that hit exposed QNAP boxes, families like Qlocker and Deadbolt, spread almost entirely through devices with admin interfaces open to the internet. Encrypted photos, a ransom note, and no easy way back.

Mistake 4: Forwarding the wrong protocol or port number

Small typo, big silence. Forwarding TCP when the service needs UDP (or both) leaves you with a rule that looks correct and does nothing. A lot of home routers default the protocol dropdown to TCP, and some services quietly need UDP alongside it.

Then there is the external-versus-internal port mix-up. Many routers let you map external port 45001 to internal port 5001. People set the external field and forget the internal one, so traffic arrives on 45001 and the NAS, listening on 5001, ignores it.

Here is a quick reference for the defaults people trip over.

Service Default port Protocol
Synology DSM (HTTPS) 5001 TCP
QNAP QTS (HTTPS) 443 TCP
Plex Media Server 32400 TCP
WireGuard VPN 51820 UDP
OpenVPN 1194 UDP

Mistake 5: Trusting the router's own status page

A router saying a rule is "active" only means the rule exists, not that traffic reaches the NAS. The firewall on the NAS itself can silently drop the packet after your router faithfully hands it over.

Synology's built-in firewall, under Control Panel, Security, Firewall, is often the last mile of the failure. You forwarded the port, the router did its job, and the NAS threw the packet away because no allow rule matched.

Test from outside your network, never from inside. Testing from your own LAN gives false results because the traffic never leaves the house, so it never exercises the forward. Use your phone on mobile data, or a port checker service, and try the real external port.

Mistake 6: Ignoring the safer alternative entirely

The honest truth is that in 2026, most home users should not port forward their NAS at all. The tooling has moved on.

Tailscale, or plain WireGuard, gives you an encrypted tunnel into your home network with zero ports open to the public internet. Nothing to scan, nothing to brute-force, no admin page hanging out in the wind. Setup takes about ten minutes and it sidesteps CGNAT and double NAT completely, because the connection is outbound from both ends.

If you genuinely need a public web address, a Cloudflare Tunnel puts a hardened front door in front of your services without exposing your home IP. You can read the mechanics on Cloudflare's explainer on VPNs and secure access, and Synology's own guidance on reverse proxy in DSM is worth a read before you open anything.

A short pre-flight before you open any port

When port forwarding really is the right call, run this quick list first and you will skip most of the pain above.

  • Reserve a fixed internal IP for the NAS in the router.
  • Confirm your WAN address is genuinely public, not a private range.
  • Forward only the specific service port, never the raw admin port.
  • Match the protocol exactly, TCP, UDP, or both.
  • Allow the port in the NAS firewall, not just the router.
  • Test from mobile data, outside your own network.

Nine times out of ten, the rule was never the problem. It was the DHCP lease that wandered off, or the second router nobody remembered was there. Fix the environment around the forward, and the forward starts working the way it looked like it should all along.

Frequently asked questions

How do I know if I'm behind double NAT?

Look at your router's WAN or internet address. If it starts with 192.168, 10., or 172.16 through 172.31, that is a private range and you are behind another router. Compare it to the number a "what is my IP" search shows: if they differ, you have double NAT and need to bridge the outer modem or set your router as its DMZ host.

Which port should I forward for a Synology NAS?

Do not forward the admin ports 5000 or 5001 to the open internet. Forward only the specific service you need, such as 443 for a reverse proxy or the media app's own port. For admin access, use a VPN or Tailscale rather than exposing the DSM login page directly.

My port forward worked yesterday and stopped today. Why?

Almost always the NAS picked up a new DHCP address after a reboot, so the rule now points at nothing. Set a DHCP reservation or static IP for the NAS by its MAC address, then update the forward to that fixed address. It will stop drifting after that.

Why does my forward work on my phone but not on home Wi-Fi?

That is NAT loopback (also called hairpin NAT). Some routers will not route traffic sent to your public IP back into your own network. It is a router limitation, not a broken forward. Use the local IP at home, or enable NAT loopback in the router if the option exists.

Can I port forward if my ISP uses CGNAT?

No. With carrier-grade NAT you share one public address with many customers and never had a forwardable public IP. Ask your ISP for a real public address, which some offer for a small fee, or skip forwarding entirely and use Tailscale or a Cloudflare Tunnel, which work fine behind CGNAT.

Is port forwarding safe for a home NAS?

It can be, if you forward only a single hardened service and keep the admin interface off the internet. The bigger risk is exposing login pages that bots brute-force within hours. For most home users a VPN-style tunnel is safer and takes about the same effort to set up.

Dev Patel, Senior Homelab Writer & Infrastructure Engineer
About the Author

Dev Patel

Senior Homelab Writer & Infrastructure Engineer

Dev Patel is a homelab builder and infrastructure writer with more than a decade of hands-on experience running self-hosted servers at home. He builds, tests, and documents real home server setups covering NAS storage, virtualization, container orchestration, and secure remote access. Dev keeps a live rack in his basement stacked with refurbished enterprise gear, and he learns most of what he writes by breaking things first and fixing them later. His guides focus on the small details that only surface after the first thousand hours of running a homelab, including power draw, thermals, disk failure patterns, and the tiny configuration choices that decide whether a weekend project becomes a five year backbone.

  • Synology
  • QNAP
  • TrueNAS
  • RAID & ZFS
  • Backup strategy

118 published guides View all articles