Port Forwarding Is Not the Enemy: Cloudflare vs Tailscale for Your NAS

Port Forwarding Is Not the Enemy Cloudflare vs Tailscale for Your NAS

I keep seeing the same question pop up online: “Why doesn’t everybody put their NAS behind Cloudflare? It’s free, it opens no ports and it even works with my Google account and a security key.” And I have to admit that it is a great question. The answer most people give is “you really should” and then they treat port forwarding as if it were a crime. I see it differently. Port forwarding is not the enemy. Let me show you why, together with the two alternatives everyone talks about. We are going to look at Port Forwarding, Cloudflare and Tailscale like three friends who all want to open the door of your house for you.

Before we start, I want to make something clear. I am not here to tell you that one of them is evil and another one is a saint. I want this to be a calm conversation between friends, not a warning poster. Every technical statement below about Cloudflare, Tailscale and Synology comes from their official documentation and I linked it at the end so you can check it yourself. The rest comes from years of exposing my own NAS to the Internet and from the guides I write for you.

🧭 The Three Doors Into Your NAS

Imagine your NAS is a house full of photos and documents and family backups. You want to enter it from outside. You basically have three kinds of doors:

  • Port Forwarding: you tell your router to send traffic from the Internet straight to your NAS. A real front door with a lock that you chose.
  • Cloudflare Tunnel and Access: your NAS calls Cloudflare and Cloudflare becomes the doorman who greets every visitor on your behalf.
  • Tailscale: no public door at all. Only your own devices get a key to a private hallway.

All three work. All three have a price. The only question is which price you are happy to pay.

🚪 Port Forwarding: The Door Everybody Warns You About

If you follow my guides, you already know that I use port forwarding all the time. Ports 80 and 443 for Let’s Encrypt and reverse proxy and sometimes a few more depending on the service. If you have never done it, I explained the idea in my port forwarding guide for TP Link routers and the steps are very similar on every router.

Many people will tell you that port forwarding is dangerous and that you must never do it. I understand where this comes from. When you open a port your NAS answers anyone on the Internet who knocks and the Internet knocks all day long. That is a fact and I will never hide it from you. But let me show you what you get in return:

  • Your data goes straight to your NAS. Your browser talks to your own server with your own certificate. Nobody in the middle terminates your encryption. That is the biggest advantage for privacy and I will come back to it.
  • Full speed and no file limits. Photos and videos and backups travel at the speed of your Internet line. No middleman limits the size of what you upload.
  • Everybody can use it. Your mother and your cousin and your friend can open a normal link in a normal browser. No app to install and no account to create.
  • You can use your own domain name. Port forwarding is what lets your services answer at a name you chose, with a certificate that belongs to you. I wrote the steps for Synology in How to Access Your Synology NAS With Your Own Domain Name and for UGREEN in How To Use Your Own Domain Name on Your UGREEN NAS.
  • It is simple. Fewer moving parts means fewer things that can break at midnight. And no company in the middle can change its rules tomorrow.
  • You are in control. You decide which ports are open and who can reach them. You see everything in your own logs.

mariushosting dot com hosted on a Synology NAS

Now the honest part. With port forwarding you must be more careful with updates. Nobody else patches your NAS for you. When Synology published the NGINX2Root advisory on November 19, 2026, I wrote Critical Apache and NGINX Flaws, What Synology NAS Users Must Do Now the same morning with a two minute mitigation. When the fix arrived the next day, my step by step guide was ready: Synology DSM 7.4.1 Update 2 Released. That is the deal: you open the door and in exchange you promise to keep the lock up to date. If you follow the site, that promise is much easier to keep.

☁️ Cloudflare: Great Security and a Silent Privacy Problem

Let me start with the compliments because they are deserved. Cloudflare Tunnel is clever. According to the official documentation, a small program called cloudflared creates outbound only connections from your NAS to Cloudflare so your NAS does not need a publicly routable IP address and you can close every inbound port. On top of that, Cloudflare Access lets you put a login in front of your apps with an identity provider like your Google account. The Zero Trust Free plan is listed by Cloudflare as $0 for up to 50 users. For security this is a fantastic setup and I understand why so many people praise it.

So why don’t I use it? Privacy. And here is the strange thing. In all the praise I read online nobody talks about privacy. Not a word. Let me explain it in a way that everyone can follow.

🔓 Where the Padlock Stops

When you use a hostname that goes through Cloudflare, you have to know how it works. According to the Cloudflare documentation, the SSL/TLS encryption mode controls how Cloudflare manages two connections: one between the visitor and Cloudflare and another one between Cloudflare and your origin server. In the same documentation Cloudflare explains that there can be two certificates in a single request: an edge certificate that Cloudflare shows to your browser and an origin certificate on the other side. Cloudflare also states that for a proxied record it answers with its own anycast IP address instead of the IP address of your origin.

Read that again slowly because it is the whole story. Your browser does not talk to your NAS. It talks to Cloudflare. Cloudflare opens the traffic and then starts a second connection to your NAS. The padlock in your browser is real and it proves that the line between you and Cloudflare is encrypted. It does not prove anything about what happens after Cloudflare. For a short moment, your data can be visible in clear text on the machines of a company in the middle. That is not a bug. That is how a reverse proxy works.

What kind of data am I talking about? Everything that passes through that door:

  • The Password you type in the DSM or Synology Photos login page.
  • Your Files and your Photos.
  • Your Synology Chat messages.
  • Your Synology Office documents.
  • Your Backups if you send them through that door, like Active Backup for Business or photo backups.

Let me be very careful with my words here. I am not saying that Cloudflare reads your files. I am not saying they do anything wrong and I am not accusing anyone. I am saying that technically they can and that you must trust them completely that they never will. It is a US company and your most personal data would be passing in clear text through its servers. You may be perfectly fine with that and many people are. But it should be your decision. And you can only decide if somebody tells you. Nobody tells you. So I do.

There is also a small practical detail. For a domain proxied through Cloudflare, the official documentation lists a maximum upload size of 100 MB on the Free plan. If you ever try to upload a big video or a large backup through that door, you may meet the famous 413 error.

The summary is simple. Cloudflare is wonderful for security because there are no open ports and the authentication happens at the edge. It is weak for privacy because you place all your trust in a third party. If you want to explore a gentler use of the same company, I wrote how to set CloudFlare DNS on Your Synology Device. That is only DNS and does not put your data in the middle.

🔒 Tailscale: The Private Hallway

Now the opposite approach. Tailscale builds a private network that contains only your own devices. The data plane uses WireGuard to encrypt the communication between your devices. The official documentation says that the architecture provides end to end encryption whether devices connect directly or through a relayed connection. When a direct line is not possible, your traffic can pass through a relay called DERP and Tailscale states that a DERP server never accesses your unencrypted data because it only forwards packets that are already encrypted. Private keys never leave the device that generated them.

In plain words: the company helps your devices find each other and then steps aside. Nobody in the middle can read what you send. For a NAS that holds family photos this is exactly the kind of privacy I like. There is even a feature called Funnel for sharing something with the public and Tailscale says the relay cannot decrypt that traffic either.

What is the price? Every device needs the Tailscale app. It is perfect for your own phone and your laptop and your family devices when you can set them up. It is less perfect when you want your friend to open a link without installing anything or when you host a public website. Tailscale is a private hallway. It is not a front door for the whole world.

⚖️ The Three Doors Side by Side

  • Port Forwarding: easiest for everybody to use and fully private between the visitor and your NAS. The price is that you must update fast and protect the door.
  • Cloudflare: no open ports and great login protection. The price is that a third party terminates your TLS and can technically see your data in clear text.
  • Tailscale: no open ports and end to end encryption. The price is that every device needs the app and it is not made for public sharing.

There is no door that is perfect. There are only different trade offs and now you know all of them.

💙 Why I Prefer Port Forwarding and Why It Should Not Be Demonized

I will tell you my personal choice with a smile. I prefer port forwarding. Not because I am stubborn but because I looked at the whole picture. My visitors and my family reach my services directly. My encryption ends on my NAS with my certificate. I do not depend on a company that could change its free plan tomorrow. And I get to know every single door of my house because I opened each one with my own hands.

Is port forwarding risky? It is as risky as the care you put into it. A badly updated NAS with weak passwords behind an open port is a bad idea. A NAS that is updated and firewalled and filtered and watched is a very different animal. We don’t tell people to never drive because accidents exist. We teach them to wear the seat belt. So please let’s stop demonizing port forwarding and start teaching people how to do it well. That is exactly what I try to do on mariushosting every night.

And if you still prefer Cloudflare or Tailscale, that is completely fine. You are my friend either way. I only want you to choose with your eyes open.

🛡️ How I Protect a Port Forwarded NAS

Here is my checklist. None of these items is magic but together they make a very big difference:

    1. A Router With Threat Prevention. More on this in the next section because it deserves its own story.
    2. My IP Block List. I update it regularly and it contains tens of thousands of known malicious IPs. You can import it in your NAS and in your Synology router. Everything is explained on my IP Block List page. Set the expiration to Forever and let it work while you sleep.
    3. Access Control Profile. You can deny IPs and CIDR ranges and then apply the profile to your reverse proxy rules or to Web Station. Here is the step by step guide: Synology: How to Add Access Control Profile on Your NAS.
    4. The NAS Firewall. I use GeoIP rules and, in my own experience, they cut the attack notifications dramatically. Read Synology: How to Correctly Set Up Firewall on DSM 7 and follow the order of the rules exactly.
    5. Update the Applications. Package Center and every Docker container you run. An old container is an open window.
    6. Update the Operating System. DSM on the NAS and SRM on the router. This is the promise I mentioned earlier.
    7. The Basics. Strong passwords and two step verification and no default admin account. Check out my article on How To Prevent Brute-Force Attacks and Best Practices When Using Docker and DDNS.
    8. Open ports yourself. I disable UPnP and create my port forwarding rules manually because it reassures me to know exactly which ports are open. Here is how to do it on RT6600ax.
    9. Back up with the 3-2-1 rule. This is my safety net for the day something goes wrong. A dead disk can happen to anyone and an exposed NAS is no exception. Keep three copies of your data on two different types of devices and keep one copy away from your home. I explained my approach in Synology: Back Up Your Entire NAS and the tools in Synology: Backup Solution Packages.
    10. Follow mariushosting. It sounds like a joke but it is not. When something critical happens, you will read it here early with the exact steps.

If you want one more layer on your apps, you can even add a login in front of them with a self hosted identity provider. I explained How to Install Authentik on Your Synology NAS and also How to Install Authentik on Your UGREEN NAS. You get a nice login page and your data still goes straight to your own server.

🧱 Why a Synology Router With Threat Prevention Helps

Here is the part that many people forget. Port forwarding does not mean your NAS stands alone in the storm. A good router can be your first guard. Threat Prevention is a package for Synology routers and Synology describes it in its Knowledge Center as a tool that inspects incoming and outgoing Internet traffic to detect and drop malicious packets. It records network events and shows statistics about the sources of attacks. It can send you alerts and it can update its signatures manually or automatically.

It is signature based and uses Deep Packet Inspection. It does not only look at the address of the sender. If you want to see how it differs from Safe Access, I wrote Synology: Difference Between Safe Access and Threat Prevention. And if your router feels slow with it, I have a guide for the RT6600ax and one for the WRX560. You can also read my opinion in the Synology Router RTX6600ax Review.

Synology Router mariushosting

A small honest note from the official documentation: Threat Prevention works only when the router is in Wireless Router mode and it needs an attached storage device because part of the space is used by the package. It is also not available on the MR2200ac model.

🟦 Using a UGREEN NAS? Your Router Still Matters

I can already hear the question: “Marius, I have a UGREEN NAS. Does a Synology router still make sense?” Yes it does and the reason is simple. Threat Prevention does not live on your NAS. It lives on the router and it watches the traffic of the network and of the devices behind it. When a malicious packet comes from the Internet, it meets the router first. If the router drops it, the packet never reaches your UGREEN NAS or your Synology NAS or your phone or your smart TV. The brand of the box behind the router does not matter.

Synology also says that Threat Prevention can work alongside your existing modem or router to add an extra layer without reconfiguring the network. It is not a replacement for updates and strong passwords. It is one more wall in front of the same house. If you use a UGREEN NAS and open ports, I would still follow the same checklist above and add this wall if you can. If you want to secure the NAS itself with HTTPS, you can start with How To Enable HTTPS on Your UGREEN NAS.

🔐 Is Cloudflare a VPN?

I get this question a lot and it is a fair one. People hear Cloudflare and they think VPN. Let me clear it up in plain words because the difference matters.

Cloudflare Tunnel is not a VPN. It works more like a reverse proxy. Your NAS opens a connection out to Cloudflare and Cloudflare publishes your services through its own servers. As I explained earlier, the encryption from your browser ends at their edge. Your visitor talks to Cloudflare, not directly to your NAS. You can read it in the official Cloudflare Tunnel documentation.

Cloudflare also has the WARP client, which their documentation now calls the Cloudflare One Client. In a Zero Trust setup, it behaves like a VPN because it sends the traffic of your device through Cloudflare’s network. The privacy point stays the same because the traffic still passes through Cloudflare.

Tailscale is a VPN. It builds a private mesh network between your own devices, using WireGuard, and the encryption is end to end. Only your devices talk to each other. That is a different model from a reverse proxy on someone else’s servers. Tailscale explains it clearly in their What is Tailscale? article.

And then there is the classic option, the one I like most for privacy: a self hosted VPN such as WireGuard or OpenVPN running on your router or on your NAS. You hold the keys and the data stays between your client and your own server. There is a catch that brings us back to the start of this article. A classic VPN server at home needs a forwarded port so your phone or laptop can reach it from outside. Port forwarding does not disappear just because you run your own VPN. It is still the door that makes the most private option possible.

💙 My Final Word

Three doors and three philosophies. Cloudflare gives you convenience and trust in a third party. Tailscale gives you privacy and a private hallway. Port forwarding gives you direct access and freedom and it asks you to be a responsible owner. Choose the one that matches how you live and what you can accept. If you choose Cloudflare, please do it knowing that the padlock ends at their edge. If you choose port forwarding, please keep everything updated and use every layer you have. If you choose Tailscale, enjoy the quiet.

I will be here tomorrow with another guide, as I always am, with the same honest voice. If these pages helped you pick a door for your NAS, send them to a friend who is still unsure. I am grateful you read mariushosting. Until next time.

📝Note: Cloudflare SSL/TLS encryption modes.
📝Note: Cloudflare SSL/TLS concepts.
📝Note: How Cloudflare DNS works.
📝Note: Cloudflare Tunnel.
📝Note: Cloudflare Error 413.
📝Note: Cloudflare Zero Trust plans.
📝Note: Tailscale encryption.
📝Note: Tailscale DERP servers.
📝Note: Tailscale Funnel.
📝Note: Synology Threat Prevention.
📝Note: Synology Threat Prevention Quick Start Guide.

This post was updated on Saturday / December 5th, 2026 at 12:46 AM

No sponsors, no corporations, no ads, no subscriptions, no membership tiers, no referral links, no pop-ups, no cookies, no tracking code. Just pure guides for the community from Marius.