How to Harden a QNAP NAS Without Port Forwarding
Turn off UPnP, remove router forwards, and set up private QNAP access without opening ports. Check exposure and prepare for ransomware recovery.
- Published
- Reading
- 4 min read
Turn off UPnP port forwarding in myQNAPcloud, disable UPnP on your router, and remove any router forwards to the NAS. For access away from home, use myQNAPcloud Link with Private access. It works without forwarding ports to your NAS. QNAP ransomware checklist, myQNAPcloud Link setup
Disable UPnP on the NAS
UPnP lets devices request port forwarding automatically. In QTS 5.2.x, open myQNAPcloud and select Auto Router Configuration from the menu in the top-right corner. If prompted, read the message and click OK. Leave the Enable UPnP Port Forwarding switch off. QTS access management, QNAP UPnP guidance
Remove the router’s forwards to the NAS
- Use Qfinder Pro on a computer connected to the same network. Find your NAS in the list and note its local IP address. Qfinder Pro instructions
- Open the router’s port forwarding settings and disable each rule that points to the NAS. On QHora routers running QuRouter 2.4, go to NAT/Firewall > NAT > Port Forwarding and turn off the matching rules. QNAP’s forwarding guidance, QHora rule management
- Turn off UPnP and DMZ in the router settings. If you use IPv6, check that the router’s IPv6 firewall blocks inbound internet access to the NAS. QNAP network exposure checklist
Choose local-only or private remote access
For local-only use on a stand-alone NAS, leave myQNAPcloud Link off in the myQNAPcloud app. For remote access, start with a QNAP ID. myQNAPcloud Link settings, QNAP account setup
- To register a stand-alone NAS on QTS 5.2.x, open myQNAPcloud, enter your QNAP ID and password, and click Sign In. Enter a device name, skip joining an organization, and click Next. Enable myQNAPcloud Link, select Private, and click Apply. QTS stand-alone setup
- On QTS 5.0.x, install myQNAPcloud Link from App Center if you did not enable it when registering your stand-alone NAS and it’s missing. On a stand-alone NAS running QTS 5.2.x, open myQNAPcloud, select Private under Access Control, then enable Link under myQNAPcloud Link. QTS access controls, QNAP Link installation guide
- In myQNAPcloud > Overview, check the Link service status. Open Qfile Pro, go to Device List, and tap Add a QNAP Device > Connect via myQNAPcloud. myQNAPcloud service statuses, Qfile Pro connection steps
- Select your QNAP account region, then sign in with the QNAP ID registered to the NAS. Choose the NAS, enter your NAS username, and tap Login. Enter the NAS account password and tap Login again. The NAS should appear as the current device in Device List. Qfile Pro sign-in procedure
Check for direct internet exposure
Run Security Checkup in Security Center. If it warns that the NAS is directly accessible from the internet, recheck the router’s forwarding, DMZ, and IPv6 settings. QNAP guidance on verifying exposure
Patch the NAS and check its accounts
- Update the firmware. Back up your data and review the firmware update requirements. Go to Control Panel > System > Firmware Update > Firmware Update and click Check for Updates. Select an available update and click Update. If QTS prompts you to restart first, you can choose Restart NAS and repeat the check. Keep the NAS powered on during the update. QTS 5.2.x firmware update procedure
- Update installed apps. Open App Center and click All below the toolbar to install all available app updates. Confirm with OK. QTS 5.2.x App Center batch updates
- Check the administrator account. If the built-in
adminaccount is still enabled, first make sure you can sign in with another administrator. To create one, use Control Panel > Privilege > Users > Create > Create a User. Fill in the account details, choose Edit under User Group, select administrators, and click Create. Sign in as the replacement administrator, open theadminprofile under Users, select Disable this account, choose Now, and click OK. Create an administrator account, Disable the default administrator
Keep a backup outside the NAS
Ransomware on a connected computer can encrypt NAS files that its account can write to. Use a standard user account for everyday file access and keep a separate backup, such as a USB drive you disconnect between backups. Restore a photo from the backup and open it to verify that you can recover it. QNAP backup and account checklist
For a thick or thin volume that supports snapshots, open Storage & Snapshots > Storage > Storage/Snapshots and select the volume. Choose Snapshot > Snapshot Manager > Schedule Snapshot, select Enable schedule, and set snapshots to run daily. Click OK, then OK again to confirm. Keep the offline backup as well. QTS 5.2.x snapshot scheduling, QNAP snapshot and backup guidance
Evidence and limits. The steps are based on the QTS 5.2.x, QTS 5.0.x, QuRouter 2.4, and Qfile Pro 4.x guides and QNAP’s security articles, checked November 26, 2026. The steps were not run on a NAS.
Sources
- QNAP anti-ransomware checklist blog.qnap.com
- QTS 5.2.x myQNAPcloud access management docs.qnap.com
- QNAP's guide to UPnP port forwarding blog.qnap.com
- QTS 5.2.x guide to locating the NAS in Qfinder Pro docs.qnap.com
- QuRouter 2.4 guide to managing port forwarding rules on QHora docs.qnap.com
- QTS 5.2.x guide to creating a QNAP ID docs.qnap.com
- QTS 5.0.x guide to installing myQNAPcloud Link docs.qnap.com
- QTS 5.2.x setup guide for myQNAPcloud docs.qnap.com
- QTS 5.2.x guide to myQNAPcloud service status docs.qnap.com
- Qfile Pro 4.x guide to adding a NAS with a QNAP ID docs.qnap.com
- QTS 5.2.x firmware update procedure docs.qnap.com
- QTS 5.2.x App Center batch updates docs.qnap.com
- QTS 5.2.x guide to creating an administrator account docs.qnap.com
- QTS 5.2.x guide to disabling the default administrator account docs.qnap.com
- QTS 5.2.x snapshot scheduling docs.qnap.com