Synology Security: How to Secure a Synology NAS on DSM 7

  • Post author:Frank Joseph
  • Post published:
  • Post last modified:
  • Post category:Synology NAS
  • Reading time:11 mins read

Synology security on DSM 7 comes down to four things. Change a few account settings once, run a Security Advisor scan to catch what you missed, keep DSM off the open internet, and have snapshots and backups for when something gets through anyway. The steps below show how to secure Synology NAS devices on DSM 7.4 (7.4.1-90080 Update 1 is current as of October 2026).

Since I started consulting part-time in late 2022, I’ve received a bunch of inquiries about securing a Synology NAS. I covered the same ground on DSM 7.2 in the video below (January 2024).

How to Secure a Synology NAS on DSM 7

Lock down the accounts and run Security Advisor first, then limit who can reach DSM, then make sure you can roll back. DSM is a reasonably secure operating system, but a NAS is only as secure as what you expose and how you sign in.

Synology NAS Security Settings to Change First

Securing Synology NAS accounts and services covers the admin account, password rules, 2FA, Auto Block, Account Protection, SSH and updates.

Deactivate the Default admin Account

The first account everybody’s going to try to sign in with is admin. On DSM 7 it’s usually already deactivated, but check. If admin is your only account, select Create on the User tab, add the new user to administrators, and sign in as that user before you deactivate admin.

1. Open Control Panel, select User & Group, and on the User tab, select admin (System default user).

Control Panel User & Group with the User tab open and the admin account selected

2. Select Edit, tick Disable this account on the Info tab, then select Save.

Editing the admin account in DSM with the option to disable the account ticked on the Info tab

I’d also keep management and file access apart: a dedicated admin account for the management console, and a regular user account for the SMB shares your computers connect to.

Set Password Strength Rules

1. Open Control Panel, select User & Group, then Advanced.

2. Under Password Settings, tick Apply password strength rules, then select Apply. The defaults meet Synology’s recommendation: a Minimal password length of 8 and three of the first five rules. They only apply to new passwords, so let DSM force a change at next sign-in.

Turn On 2-Factor Authentication or a Passkey With Secure SignIn

You can use a password plus a second step (2-Factor Authentication), or skip the password (Single-Factor Authentication) with Approve sign-in or a hardware security key. Synology recommends 2FA, and so do I. A hardware key or passkey only works with DSM opened at a valid domain name over HTTPS (not an IP address or a QuickConnect address), so sign in that way first. Approve sign-in needs your Synology Account signed in under Control Panel > Synology Account, and DSM reached at a public IP, QuickConnect ID or domain.

1. Select the user icon in the upper right of DSM, then Personal.

The DSM user menu in the upper right with Personal at the top of the list

2. Select Security, then under Sign-in Method, select 2-Factor Authentication (or Single-Factor Authentication for a passwordless key).

The Sign-in Method section of DSM's Personal settings with the 2-Factor Authentication option

3. Choose Approve sign-in, Verification code (OTP) or Hardware security key (where a passkey goes), then enter your password.

4. Follow the wizard. For OTP, scan the QR code with Synology Secure SignIn or any authenticator app, enter the code, and confirm your backup email.

Set up OTP even if you plan on using something else, since Synology says it’s mandatory for its mobile apps and utilities. If you use hardware keys, buy at least two.

As of March 2026, my opinion is that any service that supports a passkey is something you should implement immediately, and DSM is one of them.

Enforce 2FA for Every Administrator

1. Open Control Panel, select Security, then Account.

2. Under 2-Factor Authentication, tick Enforce 2-factor authentication for the following users, pick Administrator group users, All users or Specific users or groups, then select Apply.

Control Panel Security Account tab with Enforce 2-factor authentication for Administrator group users, All users or Specific users or groups

In my DSM 7.2.1 video (January 2024), DSM wouldn’t apply this until email notifications were set up, so if you see that message, configure Gmail to send email notifications first.

2FA also applies to SSH (SSH terminal, SFTP and rsync with SSH transfer encryption). The catch is that Hyper Backup and Shared Folder Sync over rsync with SSH encryption don’t support it and stop working once 2FA is on, so check those tasks afterwards.

Turn On Auto Block and Account Protection

Both make brute-force attacks much harder. Auto Block blocks the IP address after too many failed logins on DSM, SSH, VPN Server and more, while Account Protection protects the account itself from untrusted clients.

1. Open Control Panel, select Security, then Protection.

2. Select Allow/Block List, and on the Allow List tab, select Create > Add IP address and enter your computer’s IP (and a reverse proxy’s, if DSM sits behind one), so a few bad passwords can’t lock you out.

3. Under Auto Block, tick Enable auto block, set Login attempts and Within (minutes), tick Enable DoS protection on the Protection tab, then select Apply.

Control Panel Security Protection tab with Enable auto block ticked and the Login attempts and Within (minutes) fields

4. On the Account tab, tick Enable Account Protection, set the attempts and minutes, then select Apply.

Enable block expiration is optional, and I’d probably recommend that you don’t have it configured.

Turn Off SSH and Telnet When You Aren’t Using Them

If you aren’t actively using SSH, turn it off until you need it, since a compromised device on your own network can try it too. Telnet should stay off (two telnetd vulnerabilities were patched in DSM 7.3.2 updates in early 2026).

1. Open Control Panel, select Terminal & SNMP, then Terminal.

2. Untick Enable SSH service and Enable Telnet service, then select Apply.

Control Panel Terminal & SNMP with Enable Telnet service and Enable SSH service both unticked

Network backup and SFTP open port 22 on their own even with SSH unticked, and unticking SSH stops any encrypted network backup that’s running.

Install Important DSM Updates Automatically

Updates are what patch security flaws, and DSM 7.4 is the last version for older models like the DS918+, DS218+, DS1019+ and DS718+.

1. Open Control Panel, select Update & Restore, then DSM Update.

2. Select Update Settings, choose Automatically install important updates, then select OK.

Automatically install the latest updates installs every update for your DSM version, and on models released in 2024 and earlier there’s also Notify me and let me decide whether to install the new update. I wouldn’t pick either, but the important security updates should install automatically, and a DSM update cannot be rolled back.

Run a Synology Security Checkup With Security Advisor

Security Advisor is DSM’s built-in scanner, and it’s the closest thing to a Synology security checkup you can schedule. It scans DSM’s settings and the NAS for weak configurations, malware and abnormal logins.

1. Open Main Menu and select Security Advisor.

2. Select Scan, and on the first scan pick a Security Baseline. For home and personal use is the right one for most people.

3. Select View Results.

4. Fix each Failed rule, highest severity first: select it and choose View for the Details and Recommended Action, then Link to jump to the setting.

5. On the Advanced page, tick Enable regular scan schedule and set a time, then pick a shared folder and tick Enable monthly report or Enable daily report. Emailed reports need Control Panel > Notification > Email set up.

A Danger status means it found malware, which Fix removes.

Secure Remote Access to a Synology NAS

The most secure remote access doesn’t expose DSM at all. I don’t port forward to reach my own network, and I use a VPN into it instead (or a Cloudflare Tunnel for apps that aren’t media). You can set up an OpenVPN server on your Synology NAS or set up Tailscale on a Synology NAS, which needs no port forwarding, and if you’re still deciding, compare your Synology NAS remote-access options.

Check What’s Already Exposed

Securing remote access starts with what’s already open, because UPnP can add port forwards you never created.

1. Open Control Panel, select External Access, then Router Configuration. If anything is listed, delete it.

2. Open Control Panel, select External Access, then QuickConnect. If nothing uses it (Approve sign-in can), untick Enable QuickConnect, then select Apply.

3. Check your router’s port-forwarding list, remove anything you don’t recognize, and disable UPnP if you can.

4. Run a port checker against your DSM ports (5000 and 5001, or whatever you changed them to). If one is open, you have a problem.

QuickConnect reaches the NAS without port forwarding, but you cannot manage it or determine who does or does not access your NAS. That’s not to say it’s insecure. Here’s how to set up Synology QuickConnect.

If You Have to Expose DSM

If you must port forward, use 2FA (or better, a passkey), a firewall that limits who can reach DSM, and install patches as soon as they’re out. Then change the default ports and force HTTPS.

1. Open Control Panel, select Login Portal, then DSM.

2. Change DSM Port (HTTP) and DSM Port (HTTPS) from 5000 and 5001, tick Automatically redirect HTTP connections to HTTPS for DSM desktop, then select Save.

Control Panel Login Portal DSM tab with the HTTPS port changed from 5001 to 6001, before ticking the HTTP to HTTPS redirect

Bots target the defaults, so it’s in your best interest to change them. Let’s Encrypt needs a domain and port 80 forwarded on your router, for validation and every renewal. For the certificate, open Control Panel > Security > Certificate, select Add, then Add a new certificate, then Get a certificate from Let’s Encrypt, and tick Set as default certificate (my guide to configure an SSL certificate has the full steps).

If you do not port forward, you do not have to use Synology’s firewall, but if you do, you really have to. The first matching rule wins, so allow DSM (and port 80, if you use Let’s Encrypt) before you set unmatched traffic to Deny access, or you’ll lock yourself out. Back in 2024, I used Synology’s firewall to keep myself in check (if I enabled SSH, I created a rule for SSH). There have also been various times where a Docker container I configured didn’t work because the firewall blocked it, so here’s how to set up the firewall on a Synology NAS.

Protect Your Data With Snapshots and Backups

Security is recovery, since ransomware’s goal is to destroy recovery points. In my 2024 video, I called snapshots the first line of defense and backups the second, because snapshots live in the storage pool and die with it. The ransomware side of this is in my guide on protecting a Synology NAS from ransomware.

Turn On Immutable Snapshots

Immutable snapshots arrived in Snapshot Replication 7.4.4 (April 2023), and once one is taken, no one, including you, can delete it until its protection period ends. They need a Btrfs volume and a 20-series or newer Plus model (DS920+, DS923+, DS925+ and so on). Value, J-series and older models like the DS918+ don’t support them.

1. Install Snapshot Replication from Package Center, open it, and select Snapshots.

2. Select a shared folder, then Settings, and on the Schedule tab, tick Enable snapshot schedule and set the days and interval.

3. Tick Enable immutable snapshots and set the Protection period (Synology recommends 7 to 14 days).

4. On the Retention tab, choose how many snapshots to keep, then select OK. Repeat for each shared folder you want protected.

Choose the folders carefully. There have been times where I’ve deleted snapshots just to reclaim space, and with immutable snapshots you cannot, even for files you deleted on purpose. It’s great for a documents folder and not awesome for every single shared folder. Regular snapshots are a different story, and in December 2022 I had them on every one of my folders, each with its own retention policy. The full setup is in my guide to set up Snapshot Replication.

Back Up Off-Site

RAID is not a backup, and snapshots are not either. Keep three copies of the data that would crush you if you lost it, on two storage mediums, with one off-site. Set up Hyper Backup, and if you’d like a cloud target, here’s how to back up your data to Backblaze B2. If the off-site copy is a second NAS, use separate credentials for it.

Final Thoughts on Synology Security

Security is never guaranteed and it’s always changing, so nothing above makes a NAS impossible to break into. Following best practices won’t mean you never run into problems, but it helps in the event that you do, which is why the snapshots and the off-site backup matter as much as any setting here.

Frank Joseph

I'm Frank, founder of WunderTech. I've been working in enterprise IT for 15+ years and running home labs for nearly a decade — every tutorial on this site is tested on hardware I actually own, including Synology NAS units, a DIY TrueNAS server, a Proxmox cluster, a full UniFi network, and more. I hold a BS in Computer Information Systems and an MBA, but most of what you'll read here comes from my home lab, not a classroom. You can also find video versions of these tutorials on my YouTube channel.