Security guide
Don't expose your NAS to the internet
An open NAS login page is what NAS ransomware goes looking for. Use a VPN instead.
The easiest way to lose a NAS is to put its login page on the internet. NAS ransomware has hit exactly those boxes again and again:
- QNAP, January 2022: after DeadBolt ransomware, QNAP told owners to stop exposing their NAS to the internet and update QTS.
- QNAP, September 2022: a new DeadBolt wave used a Photo Station flaw, and QNAP's advice included turning off UPnP port forwarding.
- Synology, August 2021: a botnet was brute-forcing Synology logins, and Synology warned the payload may include ransomware.
- Synology, October 2026: attackers exploited a DSM flaw patched in December 2024 to encrypt data on NAS units running old DSM.
What to do instead:
- Close the ports. Delete any port-forwarding rule that points at the NAS, and turn off UPnP on the router so the NAS, or an app on it, can't open ports by itself.
- Reach it through a VPN. WireGuard is a fast, modern VPN. Tailscale connects your devices without requiring port forwarding. Either way, nothing on the NAS faces the internet.
- If you use your NAS maker's relay service, keep it patched. QNAP points owners to its myQNAPcloud Link relay instead of port forwarding.
- Lock down the logins. Synology's own advice is to check for weak admin passwords, enable auto block and account protection, and set up multi-step authentication. Use a long, random, unique password.
- Keep DSM, QTS or whatever your NAS runs up to date, and turn on automatic updates.
- Keep snapshots and a backup off the NAS. They're what save you if something gets through anyway.
Sharing with family? Put them on the VPN too, or share single files with expiring links instead of opening the whole box.
Drafted with AI assistance, fact-checked and approved by RackedPrice.
No affiliate links in this guide. Safety advice shouldn't come with a sales pitch. Last checked Nov 23, 2026. See also: security notes for the gear we track.