r/synology • • Oct 29 '26

NAS Apps Guidelines on the ransomware attacks

273 Upvotes

Synology released the following statement following the attacks:

Synology Product Security Incident Response Team (PSIRT) has confirmed that the impact of the recently disclosed PHP2Shell vulnerabilities (CVE-2026-109618 and CVE-2026-109619) is limited to systems running certain PHP-dependent packages. The affected packages are Calendar, IDrive1, Joomla, KodExplorer, MailStation, MediaWiki, phpMyAdmin, vtigerCRM, Web Station, and WordPress.

Synology has released PHP security updates on DiskStation Manager (DSM) 7.4 and DSM 7.3, as well as the end-of-life DSM 7.2, DSM 7.1, DSM 7.0 and DSM 6.2. Users of the affected packages are strongly advised to update PHP through Package Center immediately. Once the PHP update is complete, dependent packages restart automatically2 and the vulnerabilities are resolved. For systems running DSM versions earlier than 6.2, Synology recommends temporarily disabling the affected packages to mitigate risk before updating to a supported DSM version.

Another (different) advisory is available on this link

https://www.synology.com/en-global/security/advisory/Synology_SA_26_14

So it seems all the current ransomware attacks are caused by outdated software on the NAS. For software that is no longer supported they released patches nonetheless. Update ASAP. If you NAS is no longer eligible for updates, disable all the packages that were mentioned and do not expose to the internet.

General guidelines about avoiding ransomware are:

  1. make sure that all your software is up to data (DSM and all software packages). Apply updates immediately when they become available.
  2. Also make sure your docker containers do not run any vulnerable software. Docker images that didn't get a recent update could be suspect.
  3. Evaluate if you really need to expose your NAS to the internet. Exposing your NAS means you allow direct access from the internet to the NAS through QuickConnect, port forwarding, DDNS, UPnP.
  4. Consider using a VPN (OpenVPN, Tailscale, ...) as the only way for remotely accessing your NAS. This is the most secure way but it's not suitable for every situation.
  5. Disable port forwarding on your router and/or UPnP. This will great reduce your chances of begin attacked. Only use port forwarding if you really know what you're doing and how to mitigate zero day attacks.
  6. Quickconnect is another way to remotely access your NAS. QC is a bit safer than port forwarding, but it still gives hackers access to your NAS without the need for passwords or MFA to exploit any vulnerabilities.

Further important guidelines:

  1. Enable IMMUTABLE snapshots if your system supports them. This will prevent the attackers from resetting your NAS after they encrypted your data. It will also protect your data.
  2. Always have some kind of offline backup. Any online backup could get compromised too, be it on a usb HDD and even a cloud based backup.

r/synology • • Dec 06 '23

Tutorial Everything you should know about your Synology

215 Upvotes

How do I protect my NAS against ransomware? How do I secure my NAS? Why should I enable snapshots? This thread will teach you this and other useful things every NAS owner should know.

Our Synology megathreads

Before you ask any question about RAM or HDDs for your Synology, please check the following megathreads:

Tutorials and guides for everybody

How to protect your NAS from ransomware and other attacks. Something every Synology owner should read.

A Primer on Snapshots: what are they and why everybody should use them.

Advanced topics

How to add drives to your Synology compatibility list

Making disk hibernation work

Double your speed using SMB multichannel

Syncing iCloud photos to your NAS. Not in the traditional way using the photos app so not for everybody.

How to add a GPU to your synology. Certainly not for everybody and of course entirely at your own risk.

Just some fun stuff

Lego Synology. But does it actually work?

Blockstation. A lego rackstation

(work in progress ...)


r/synology • • 9h ago Bravo

Networking & security PSA: fully patched DSM 7.3.2 (admin disabled) compromised Nov 27: hidden admin "rsyncAccount" + root webshell task "synoSelfCheck_*". Check your NAS

182 Upvotes

I'm sure this is related to some of the other attacks that came through last week but I don't see any exact matches. I found this on my NAS this week and I'm posting the indicators so others can check theirs. I've also reported it to Synology PSIRT.

Setup at the time

  • DSM 7.3.2-86009 Update 5 (installed Oct 23; Update 6 auto-installed the day after the break-in)

  • Built-in admin disabled since day one

  • QuickConnect disabled; port-forwarding: 5000,5001 (my bad for wanting to use it as advertised while I was away for the holidays, I guess)

  • DSM's login page was under a constant botnet brute-force (~13 attempts/min, thousands of IPs, generic usernames)

What I found

  1. A scheduled task running as root every minute, named synoSelfCheck_<10 digits>. The number is a Unix timestamp, which matched the break-in time to the second. The task:

   - writes a base64-decoded script to /usr/syno/synoman/webapi/SYNOFinder.cgi and chmods it 750

   - then runs sqlite3 against /var/log/synolog/.SYNOSYSDB and .SYNOCONNDB to delete every log line mentioning rsyncAccount

  1. SYNOFinder.cgi is a webshell. It returns a fake 404 unless the request carries SYNOCHECKSUM and SYNOUSERTOKEN headers. If the MD5 of the checksum header matches a hard-coded value, it base64-decodes the token and evals it as root.

  2. A local user rsyncAccount in the administrators group, with shell /sbin/nologin and an empty home folder.

  3. Neither the user nor the task appears in Log Center, because the task scrubs them every minute.

Timeline (auth.log, EST, Nov 27)

  • 15:27:52 synoscgi: ERROR: stat(/usr/syno/synoman/webapi/SYNOFinder.cgi) [No such file or directory], i.e. the attacker probing for their shell before it existed

  • 15:27:58 synoscimprofile ... setresuid(-1, 0, -1) [Operation not permitted] (x14): the account being created

  • 15:28:08 task created (from its name)

  • 15:28:17 a second probe for the CGI

  • no successful SSH login, and nothing for admin beyond the botnet's failed guesses

I don't know the entry point yet. I was on Update 5, which per the advisory already contains the SA-26:19 fixes, including the rsync auth bypass. Possibly related: this Synology Community thread describes a new user created "by the deactivated admin account", with another report from Nov 26.

How to check yours (SSH, sudo):


ls -l /usr/syno/synoman/webapi/SYNOFinder.cgi

sudo synoschedtask --get | grep -i synoselfcheck

grep rsyncAccount /etc/passwd

sudo sh -c 'xzcat -f /var/log/auth.log* | grep SYNOFinder'

The last one catches the probe even if the logs were cleaned. Or just look in Task Scheduler for a root task you didn't create.

If you find it:

  1. Disable or delete the task.

  2. Delete the CGI.

  3. Disable the user.

  4. Rotate every admin password.

  5. Take DSM off the internet: no QuickConnect or port-forwards, use a VPN or Tailscale.

  6. Enable Auto Block.

  7. Consider a full DSM reset, since they had root.

Happy to share more detail with anyone seeing the same thing

Update: Jeez y'all, settle down about the ports. The reality of these consumer boxes is that even the fact that I had the brains to disable the admin account from the start means I was doing more than most users. It's still on Synology if someone with better-than-average security sense is getting hacked through a disabled account. It's a PSA, if I'm doing it lots of others are too, and they should know how to check for the intruder.


r/synology • • 7h ago

Networking & security How can I disable port forwarding but still watch my plex remotely?

15 Upvotes

I’m a newbie, please don’t jump down my throat for being naive: I’m seeing all these posts about “don’t have port forwarding on” but from my understanding if I have it off I can’t watch my plex remotely like at family’s house for the holidays?

I’ve seen comments about Tailscale… I know nothing about it. Do I have to have tailscale at my family’s house to connect?

I have quick connect disabled and 2FA on.


r/synology • • 1h ago

NAS Apps Immich vs Synology Photos (still no iPhone Duo support)

4 Upvotes

is It worth swapping to Immich? Frustrated that Synology STILL has no iPhone Duo support and that Synology seems to be abandoning home users. Looking for advice


r/synology • • 5h ago

Networking & security How do I take the NAS offline and use tailscale

7 Upvotes

I have my Synology currently set up with reverse proxy through 443 with that being the only port forward. I have Upnp turned off on my router (Asus) and ask the firewalls turned on, both in the router and Nas. The nas is geo locked to my country.

The more I read, the more I know to stay safe I need to take it "offline" but use Plex, sonnar, radar etc, in docker. Can I still use those with tailscale?

It also backs up photos etc for the family.

How do I keep it online for the automations I have, while taking it offline? Is that even possible?

Thanks


r/synology • • 7h ago

Networking & security I'm turning paranoid

9 Upvotes

With the recently events of hacking im really paranoid.

I love my nas, half family use synology photos, plex and drive (parents, brother and wife, my wife and parents in law).

Everyone has rough passwords and 2fa.

I set-up firewall to block every ip from outside our european country and every ip making 3 attempts is blocked.

Everything is up to date and have backup online with synology cloud.

Using tailscale or similar is almost impossible, parents are old and only use smartphone for see grandsons photos and upload his own pictures.

I'm playing with the devil at this point?

I turned off quickconnect but I did ddns so I can access outside.


r/synology • • 4h ago

NAS hardware My DS923+ is struggling... what next..?

4 Upvotes

I'm running a DS923+ with Plex, the AARRRs, Paperless NGX and ROMM primarily on it. It seems to struggle with all this load on it... and slows down tremendously. What should I do to improve this.. 1) Move to a UGreen NAS, 2) Use a Mini PC (which seems like something else to manage) or 3) Buy a totally different server to run Unraid or similar on it?


r/synology • • 5h ago

Networking & security What is the safest strategy here?

2 Upvotes

Hi all,

I have a VLAN for the cell phones and all the IoT devices.

I have disconnected quickconnect.

From my laptop (when I am outside) I can access the NAS using a VPN that runs in my router.

In the family we have several phones (iPhones and Androids) that were using QuickConnect to backup and use synology photos.

OK, I can use a VPN not a big deal, but my question is...

I wanted to have the phones in a separate VLAN for more safety... if I connect the phones to a VPN and that VPN gives access to the NAS... am I not removing that VLAN separation safety?

Can I give the phones access only to Synology Photos? from the VPN?

I mean... which "ports?" should I allow in my firewall rules for Synology Photos to work from the VPN.

I am planning to create another VPN server in my router to handle only the phones.

Does this has sense? is it even possible to filter out everything except Synology Photos?

Thank you all!


r/synology • • 9h ago

Networking & security CloudFlare vs Tailscale ❓

3 Upvotes

I'm starting to get nervous about my Synology - having seen a lot of these posts about real intrusions

I have setup up a couple of CloudFlare tunnels previously - I just wanted to get a quick insight into whether I should unwind from CloudFlare & go down Tailscale or some other security path, or if CloudFlare is adequate?

I ask because I've not seen it mentioned hardly ever as a solution...


r/synology • • 8h ago

Networking & security Synology that has been turned off for several weeks.

2 Upvotes

Hello all, what is the best way to secure a Synology NAS that has been off for several weeks? I am not doing any port forwarding or similar. I do have the DS Cam and Photos Mobile apps loaded on my phone and running on the NAS.

I turn the device on every few weeks to do some backups and then turn it back off.

Any thoughts or suggestions?


r/synology • • 1d ago

Networking & security GUIDE: Secure remote access to Synology Drive

51 Upvotes

Secure remote access to Synology Drive, DSM and Plex using Tailscale — No port forwarding, trusted HTTPS and automatic certificate renewal

I recently finished configuring my Synology DS1522+ to allow secure remote access to Synology Drive, DSM and Plex from my iPhones, iPad and Mac.

I used chatGPT to guide me through VPN and security setup beyond the basic recommendations.

Please let me know if there are any suggestions to improve.

My goal was to eliminate public-facing port forwarding while maintaining convenient access to my files and media. I also wanted trusted HTTPS certificates, automatic certificate renewal and restrictive firewall rules rather than simply giving every Tailscale device unrestricted access to my NAS.

There were a few troubleshooting hurdles along the way, particularly with the native Plex iOS app, so I thought I would share the complete working configuration.

1. Overview

My setup:

  • Synology DS1522+ running DSM 7
  • Synology RT6600ax router
  • Synology Drive Server
  • Plex Media Server
  • Tailscale
  • iPhones, iPad and Mac
  • Separate primary LAN and IoT VLAN
  • DSM firewall enabled with a default deny-all rule

The finished configuration provides:

  • No public port forwarding for DSM, Drive or Plex
  • No need for QuickConnect
  • WireGuard VPN encryption
  • Restrictive Tailscale access policies
  • Trusted HTTPS certificates
  • Automatic certificate renewal
  • Remote access through the native Synology Drive and Plex apps
  • Manual approval of newly enrolled Tailscale devices

The basic network architecture is:

Phone / Tablet / Computer
            |
    Tailscale WireGuard VPN
            |
   Tailscale access controls
            |
     Synology DS1522+
            |
    +-------+--------+
    |                |
DSM firewall    Tailscale Serve
    |           HTTPS :8443
HTTPS :5001          |
    |           HTTP localhost
Synology Drive       |
                 Plex :32400

Tailscale is a split-tunnel VPN by default. Ordinary internet traffic continues through your normal Wi-Fi or cellular connection unless you specifically configure an exit node.

2. Install Tailscale on the Synology NAS

Download the current stable Synology package directly from Tailscale:

https://pkgs.tailscale.com/stable/

The version available through Synology Package Center can be significantly outdated, even when Package Center reports that it is up to date.

For my DS1522+, I used the DSM 7 x86_64 package.

Installation:

  1. Open DSM using your local LAN connection.
  2. Open Package Center.
  3. Select Manual Install.
  4. Upload the appropriate .spk package.
  5. Install or upgrade Tailscale.
  6. Authenticate using your Tailscale account.

If upgrading an existing installation, there is generally no need to uninstall the old package first.

Install Tailscale on your phones, tablets and computers using the same account.

You can view your connected devices here:

https://login.tailscale.com/admin/machines

For this guide, I will use the following example addresses:

DeviceExample address
NAS local IP192.168.1.10
NAS Tailscale IP100.100.10.20
NAS Tailscale hostnamemynas.tail12345.ts.net

Replace these with your own addresses.

3. Enable TUN networking on Synology

This is an important step that can be overlooked.

By default, Tailscale on DSM 7 can use userspace networking, which means incoming Tailscale connections may bypass DSM's normal firewall filtering.

Enabling TUN networking allows native NAS applications to initiate outbound Tailscale connections and makes ordinary incoming Tailscale traffic subject to DSM's firewall.

Go to:

DSM → Control Panel → Task Scheduler → Create → Triggered Task → User-defined script

Configure the task:

  • Name: Tailscale outbound connections
  • User: root
  • Event: Boot-up
  • Enabled: Yes

Under Task Settings, enter:

/var/packages/Tailscale/target/bin/tailscale configure-host; synosystemctl restart pkgctl-Tailscale.service

Save the task and run it manually.

You should also rerun this task after upgrading the Tailscale package, or reboot the NAS.

Official documentation:

https://tailscale.com/docs/integrations/synology

4. Configure the DSM firewall

Navigate to:

DSM → Control Panel → Security → Firewall → Edit Rules

Tailscale uses the following IPv4 address range:

100.64.0.0/10

The equivalent DSM subnet settings are:

IP address: 100.64.0.0
Subnet mask: 255.192.0.0

This range covers all Tailscale IPv4 addresses, not just your personal tailnet. Tailscale's cryptographic authentication and access policies are what isolate your own devices from other tailnets.

Create the following firewall rules:

SourceProtocolDestination portAction
Tailscale subnetTCP5001Allow
Tailscale subnetTCP32400Allow

TCP 5001 is used for DSM HTTPS and the Synology Drive mobile app.

TCP 32400 is used for direct Plex connectivity and initial troubleshooting.

Place these rules above your deny-all rule.

My firewall is organized approximately as follows:

PrioritySourcePortsAction
1Primary LANExisting authorized servicesAllow
2Specific IoT media playerTCP 32400Allow
3100.64.0.0/10TCP 5001Allow
4100.64.0.0/10TCP 32400Allow
5All remaining sourcesAllDeny

Preserve your existing necessary LAN rules.

If you also use the Synology Drive desktop synchronization or backup client, TCP 6690 may be required. I did not need it for the mobile app.

Do not create public port-forwarding rules on your router for these services.

Synology's port reference:

https://kb.synology.com/en-us/DSM/tutorial/What_network_ports_are_used_by_Synology_services

5. Restrict Tailscale access using grants

The default Tailscale policy is generally very permissive, allowing all devices to communicate with one another.

I wanted to restrict access to specific services rather than give every Tailscale device unrestricted access to my NAS.

Navigate to:

https://login.tailscale.com/admin/acls

Open the JSON editor.

Back up your existing policy before making changes.

Here is a minimal example granting tailnet members access to DSM, Synology Drive and Plex:

{
    "grants": [
        {
            "src": ["autogroup:member"],
            "dst": ["100.100.10.20"],
            "ip": [
                "tcp:5001",
                "tcp:32400",
                "tcp:8443"
            ]
        }
    ]
}

Replace the destination address with your NAS's actual Tailscale IP.

The ports are:

  • TCP 5001: DSM and Synology Drive HTTPS
  • TCP 32400: Direct Plex access
  • TCP 8443: Plex through Tailscale Serve HTTPS

Remove the default unrestricted grant if you intend to restrict access.

{"src": ["*"], "dst": ["*"], "ip": ["*"]}

Tailscale grants are additive, so retaining the unrestricted grant defeats the purpose of adding restrictive rules.

If you already use Tailscale for SSH, Hyper Backup, remote desktop, subnet routing or other services, preserve or create the appropriate grants for those services.

The autogroup:member selector covers user-owned devices belonging to tailnet members. Tagged devices may require separate grants.

Documentation:

https://tailscale.com/docs/reference/syntax/grants

6. Enable MagicDNS and HTTPS certificates

Initially, I could connect to my NAS using its Tailscale IP address:

https://100.100.10.20:5001

However, Safari complained that the connection was not private because the existing Synology certificate did not match the Tailscale IP address.

The solution was to obtain a trusted Let's Encrypt certificate for the NAS's Tailscale hostname.

Go to:

https://login.tailscale.com/admin/dns

Enable:

  • MagicDNS
  • HTTPS Certificates

Your NAS will have a hostname resembling:

mynas.tail12345.ts.net

Tailscale will warn you that the certified hostname will appear in public Certificate Transparency logs.

This is normal. It does not make your NAS publicly accessible. However, avoid using sensitive personal information in your device hostname.

7. Automatically generate and renew the Synology HTTPS certificate

This was one of the most useful discoveries during my setup.

There is a built-in Tailscale command that can generate and import the certificate directly into DSM.

No SSH, manual private key transfer or manual certificate import was necessary.

Go to:

DSM → Control Panel → Task Scheduler → Create → Scheduled Task → User-defined script

Configure:

  • Task name: Tailscale HTTPS Certificate
  • User: root
  • Enabled: Yes
  • Schedule: Daily
  • Time: 04:30 AM, or whatever time works for you

Under Task Settings, enter:

/var/packages/Tailscale/target/bin/tailscale configure synology-cert

Save the task and run it manually.

The command is designed to obtain and install the Tailscale certificate and maintain it on subsequent executions when renewal is needed.

Navigate to:

DSM → Control Panel → Security → Certificate

You should see a new certificate described as:

Tailnet Certificate

IMPORTANT: I initially thought the script had failed because no new certificate appeared. Closing and reopening Control Panel refreshed the certificate list, and the new certificate was present.

If the certificate still does not appear, enable Task Scheduler output logging and review the execution result.

The implementation of this command can be found here:

https://github.com/tailscale/tailscale/blob/main/cmd/tailscale/cli/configure-synology-cert.go

8. Assign the Tailscale certificate

Installing the certificate alone was not sufficient in my case. DSM continued presenting its old certificate until I changed the service assignments.

Go to:

DSM → Control Panel → Security → Certificate → Settings

Assign the new Tailnet Certificate to:

  • System default
  • Synology Drive Server

Leave unrelated services and existing certificates unchanged unless you specifically need to change them.

Be aware that changing the system default certificate may cause a hostname mismatch when accessing DSM through an older Synology DDNS hostname or numerical IP address.

If you rely on multiple HTTPS hostnames, you may need a separate application portal or certificate configuration.

9. Test Synology Drive HTTPS connectivity

From a computer connected to Tailscale, run:

curl -I --connect-timeout 5 --max-time 15 https://mynas.tail12345.ts.net:5001/

The expected result is:

HTTP/2 200

Do not use the -k flag for this final test. The purpose is to verify that the HTTPS certificate is actually trusted.

If you receive:

SSL: no alternative certificate subject name matches target host name

Check the DSM certificate assignments.

On macOS, you can also verify that the connection is using the Tailscale interface:

route -n get 100.100.10.20

An interface such as utun6 is consistent with VPN routing.

10. Configure the Synology Drive mobile app

On your phone or tablet:

  1. Connect to Tailscale.
  2. Open Synology Drive.
  3. Log out of any existing connection if necessary. Check existing backup and sync tasks before logging out.
  4. Log back in using the following server address:
mynas.tail12345.ts.net:5001

Enable HTTPS and use your regular DSM credentials.

Do not enable the option to skip secure connection warnings.

Test the connection over cellular with Wi-Fi disabled.

I successfully verified that Synology Drive worked with Tailscale enabled and failed when Tailscale was disconnected.

I also temporarily disabled the DSM firewall rule allowing TCP 5001 from the Tailscale subnet. The connection failed even with Tailscale connected.

Reenabling the rule restored access.

This confirmed that DSM's firewall was independently enforcing access restrictions for my Synology Drive connection.

11. Configure Plex for remote Tailscale access

Plex requires some additional configuration.

Initially, I tested direct connectivity to Plex:

curl -I --connect-timeout 5 --max-time 15 http://100.100.10.20:32400/web/index.html

Expected result:

HTTP/1.1 200 OK

You can also test directly from Safari:

http://100.100.10.20:32400/web

Safari will report that the connection is not secure because it is HTTP. The traffic is nevertheless encrypted between Tailscale peers by WireGuard.

Unfortunately, although direct browser access worked for me, the native Plex iOS app continued reporting that my server was offline.

The solution that ultimately worked was Tailscale Serve combined with the correct iOS app permissions.

12. Configure Tailscale Serve as a private Plex HTTPS reverse proxy

Tailscale Serve provides a private HTTPS reverse proxy that is accessible only within your authorized tailnet.

It is different from Tailscale Funnel, which can expose services to the public internet.

I used TCP 8443 to avoid potential conflicts with existing DSM HTTPS services.

Go to:

DSM → Control Panel → Task Scheduler → Create → Scheduled Task → User-defined script

Configure:

  • Task name: Tailscale Serve - Plex
  • User: root
  • Schedule: Manual execution only

Enter the following script:

/var/packages/Tailscale/target/bin/tailscale serve --bg --https=8443 http://127.0.0.1:32400

Save the task and run it manually.

The --bg flag makes this configuration persistent. It does not need to run daily.

Tailscale Serve handles its own HTTPS certificates automatically.

The resulting connection is:

Tailscale client
       |
HTTPS port 8443
       |
Tailscale Serve
       |
HTTP 127.0.0.1:32400
       |
Plex Media Server

IMPORTANT:

  • Use Serve, not Funnel.
  • No router port forwarding is needed.
  • TCP 8443 must be permitted in your Tailscale access policy.
  • In my configuration, Serve worked without a DSM firewall rule for TCP 8443.

Tailscale Serve handles these connections differently from ordinary incoming NAS traffic. Do not assume DSM's firewall independently filters the Serve endpoint.

This is another reason why restrictive Tailscale grants are important.

Official documentation:

https://tailscale.com/docs/reference/tailscale-cli/serve

13. Test Plex HTTPS

From your computer, run:

curl -I --connect-timeout 5 --max-time 15 https://mynas.tail12345.ts.net:8443/web/index.html

Expected result:

HTTP/2 200
x-plex-protocol: 1.0

You should also be able to open Plex in Safari using:

https://mynas.tail12345.ts.net:8443/web

Safari should no longer report a certificate warning.

14. Configure Plex Media Server network settings

Open Plex Web and navigate to:

Settings → Server → Network → Show Advanced

Configure the following:

SettingValue
Secure connectionsPreferred
Preferred network interfaceAny
Enable local network discovery (GDM)Enabled
Strict TLS configurationOff, in my tested setup
Enable RelayDisabled
Custom server access URLshttps://mynas.tail12345.ts.net:8443
IP addresses and networks allowed without authenticationBlank

The Custom server access URLs setting is particularly important.

Enter:

https://mynas.tail12345.ts.net:8443

Do not include /web at the end.

This allows Plex to advertise your private HTTPS endpoint to its clients through its server discovery infrastructure.

Under Plex Remote Access, keep public Remote Access disabled.

You do not need to configure a custom certificate inside Plex itself because Tailscale Serve handles the HTTPS termination.

Plex network documentation:

https://support.plex.tv/articles/200430283-network/

15. IMPORTANT: Enable Local Network permission on iOS and iPadOS

This was a major troubleshooting hurdle.

I could successfully access Plex using all of the following:

  • Direct HTTP through Safari
  • Tailscale Serve HTTPS through Safari
  • The Plex-hosted web app at app.plex.tv

However, the native Plex iPhone app still reported that the server was offline.

The problem was that the Plex app did not have Local Network permission.

Navigate to:

iPhone Settings → Apps → Plex

Enable:

  • Local Network
  • Cellular Data

On a Wi-Fi-only iPad, enable Local Network.

Even though I was connecting remotely over cellular through Tailscale, enabling Local Network permission immediately restored the native Plex app.

I subsequently tried reverting to the direct HTTP Tailscale connection while keeping Local Network permission enabled. The native Plex app stopped connecting again.

Restoring the Tailscale Serve HTTPS configuration restored functionality.

Therefore, both the private HTTPS reverse proxy and the Local Network permission were important in my working configuration, although other Plex installations may work without Serve.

Plex documentation:

https://support.plex.tv/articles/ios-system-permissions/

16. Test remote Plex playback

On an iPhone:

  1. Disable Wi-Fi.
  2. Connect Tailscale.
  3. Open Plex.
  4. Play a video from your personal library.
  5. Check the Plex Dashboard to verify that the connection is not using Plex Relay.

For a Wi-Fi-only iPad, connect the iPad to your iPhone's cellular Personal Hotspot and enable Tailscale on the iPad.

This eliminates your ordinary home LAN connection from the equation and is a convenient way to simulate being away from home.

I successfully tested remote Plex playback on both my iPhone and iPad.

I recommend also testing with Tailscale disconnected and attempting to play uncached media. With public remote access and Plex Relay disabled, remote access through this configuration should fail.

17. Enable Tailscale Device Approval

Because my firewall and access policy allow authorized tailnet members to connect to specific NAS services, I also wanted to control enrollment of new devices.

Navigate to:

https://login.tailscale.com/admin/settings/device-management

Enable:

Manually approve new devices

Newly enrolled devices will require administrator approval before communicating with your tailnet.

I also recommend protecting your Tailscale identity provider account with strong two-factor authentication, preferably a passkey or hardware security key.

Device Approval is not an independent security factor if the same administrator account is used for both enrollment and approval. An attacker who fully compromises that account could potentially approve their own device.

Tailscale also offers Tailnet Lock, which requires cryptographic signatures from trusted signing devices and provides additional protection against account or coordination-server compromise.

Device Approval and Tailnet Lock are mutually exclusive.

For my home setup, I chose Device Approval rather than introducing the additional signing and recovery management required by Tailnet Lock.

18. Review device key expiration

In the Tailscale Machines dashboard, review each device's key expiration settings.

My general preference is:

  • NAS devices: Disable expiration when necessary for unattended operation.
  • Phones: Enable expiration.
  • Tablets: Enable expiration.
  • Computers: Enable expiration unless unattended services require otherwise.

Remove old devices that you no longer use.

Keep your NAS and Tailscale clients updated.

19. Final scheduled task configuration

The finished configuration uses three DSM Task Scheduler tasks.

TaskScheduleUser
Tailscale outbound connectionsBoot-uproot
Tailscale HTTPS CertificateDailyroot
Tailscale Serve - PlexManual executionroot

TUN networking

/var/packages/Tailscale/target/bin/tailscale configure-host; synosystemctl restart pkgctl-Tailscale.service

Synology certificate generation and renewal

/var/packages/Tailscale/target/bin/tailscale configure synology-cert

Plex private HTTPS reverse proxy

/var/packages/Tailscale/target/bin/tailscale serve --bg --https=8443 http://127.0.0.1:32400

To inspect the current Serve configuration:

/var/packages/Tailscale/target/bin/tailscale serve status

To disable the Plex reverse proxy:

/var/packages/Tailscale/target/bin/tailscale serve --https=8443 off

These commands can be executed using DSM Task Scheduler without enabling SSH.

20. Final connection addresses

ServiceAddress
DSMhttps://mynas.tail12345.ts.net:5001
Synology Drive mobilemynas.tail12345.ts.net:5001
Plex browserhttps://mynas.tail12345.ts.net:8443/web
Plex custom server access URLhttps://mynas.tail12345.ts.net:8443

The same addresses work at home and away from home, provided Tailscale is connected.

21. Final security configuration

Security measureConfiguration
Public port forwardingDisabled for these services
Automatic router port mappingsReview and disable if unnecessary
QuickConnectNot required
Tailscale VPNEnabled
Tailscale grantsRestricted to required services
DSM firewallDefault deny
DSM TUN networkingEnabled
Synology Drive HTTPSTrusted certificate
Plex HTTPSTailscale Serve
Certificate renewalAutomated
Plex Remote AccessDisabled
Plex RelayDisabled
Tailscale FunnelNot used
Device ApprovalEnabled
Identity provider 2FAEnabled
IoT VLAN isolationPreserved

One possible additional improvement would be to remove direct TCP 32400 access from the Tailscale grant and DSM Tailscale firewall rule, leaving port 8443 as the only remote Plex endpoint.

I have retained TCP 32400 in my tested configuration for now. Removing it should be tested before making the change permanent. Local Plex clients still need their applicable LAN firewall permissions.

Conclusion

This setup allows me to use Synology Drive like a private Dropbox and Plex like a private streaming service without exposing either application directly to the public internet.

The biggest lessons from my experience:

  1. Do not assume Synology Package Center has the current Tailscale version.
  2. Enable TUN networking if you want DSM's firewall to filter ordinary Tailscale traffic.
  3. Do not leave Tailscale's default unrestricted grants if you want service-level isolation.
  4. Use the built-in configure synology-cert command for automatic DSM certificate management.
  5. Assign the generated certificate to the appropriate DSM services.
  6. Tailscale Serve can solve Plex HTTPS and native app connectivity problems.
  7. Enable Local Network permission in the Plex iOS app, even when connecting remotely through Tailscale.
  8. Test remote access with both the VPN enabled and disabled.

The result is convenient remote access with multiple layers of security, no additional VPN subscription and no public port forwarding for these services.

Hopefully this saves someone else a few hours of troubleshooting.


r/synology • • 5h ago

Networking & security What are these blocklist IPs? Is it automatic scanning?

Thumbnail
gallery
0 Upvotes

I have one high numbered random WebDAV HTTPS port exposed to the internet with port forwarding, and I have OpenVPN port forwarded and exposed to the internet.

I opened the DS Finder iOS app and under IP Blocking it showed all these hundreds and hundreds of blocked IP addresses.

Is this because botnets are attempting to login and failing?


r/synology • • 5h ago

NAS hardware Looking for a NAS. Questions about adding drives

0 Upvotes

I use unraid currently. I like the fact I can add new drives of different sizes to add to the pool.

Current setup

12tb parity drive

Storage:

12tb

12tb

10tb

4tb

3tb

My server is super old and im looking at getting a new one. I dont care about dockers, VM, etc. I run a plex server on a separate machine so I just care about storage.

My new setup would have a 22tb parity drive and a 22tb and 14tb drive to start and ill add more overtime

Will Synology work for me?


r/synology • • 6h ago

NAS Apps Hyper Backup to USB (exFAT): "cluster chain has too few clusters" on a .hbk bucket. Repaired on Mac, integrity check passes. Can I trust it?

1 Upvotes

DS1522+ DSM 7.4.1-90080 Update 2, three local Hyper Backup tasks writing to a 24 TB Seagate drive in a Sabrent EC-DFFN USB dock (exFAT) plugged into the NAS. I have been running daily backups for about 18 months.

Over the last few months the USB drive has occasionally reported that it was not unmounted correctly at the end of the backups. And then a couple of days ago, the backups failed because the drive would not mount. I mounted the drive to my Mac and ran First Aid. The first run failed with exit code 74:

"Cluster chain for /job3.hbk/Pool/0/99/212.bucket has too few clusters for its size."

A second run finished clean.

Since then:

- Replaced the USB cable because it unmounted while on my Mac.

- SMART (read over SSH on the NAS) looks healthy: no reallocated or pending sectors. UDMA CRC errors are 7 and command timeouts are 158.

- Ran Hyper Backup's integrity check with the data check enabled and no time limit on all three tasks. All three checked 100% of the data and reported no errors.

Job 3 holds about 8.5 TB of the roughly 8.75 TB total (about 97%), and it's the critical data.

**Questions:**

  1. After a file system repair like this, how much can I trust Hyper Backup's data integrity check? Does it verify every chunk, including whatever was in 212.bucket?
  2. Can I work out which files were in that bucket? I wondered whether touching them would force a re-backup, but with deduplication I'm not sure it would rewrite the chunk.
  3. Or is the safer move to reformat the drive and rerun all three backups from scratch, giving up the version history?

Thanks for any experience with this.


r/synology • • 10h ago

NAS Apps Synchronisation webdav

Thumbnail reddit.com
1 Upvotes

Ai paper version V 3.16.4


r/synology • • 5h ago

Networking & security Auto block after 1 attempt

0 Upvotes

I’m a bit of a noob in this field.

If i would use QuickConnect and/or portforwarding, disable admin account, and made sure to turn auto block after wrong password one attempt, would there still be a possibility for it to get hacked?


r/synology • • 1d ago

Tutorial Can we put together a step by step guide for owners?

53 Upvotes

Hi all,

I am on my second Synology NAS (a DS2419+) and so far have been able to dodge a lot of the problems that others have posted about.

Per the solid advice here I update as soon as an update is pushed out, have disabled the admin account, require 2 factor authentication from the very limited family members who have access, absurdly long quick random connect ID to prevent a guess, etc.

In reading some of the posts here over the last few months I have seen great advice buried in the comments when someone who has courted disaster. Could we put together a guide to pin to the top of the page with step by step guides for people to get a better handle on things?

Not trying to make work for others but it took a while for me to get up to speed and it might help people who aren’t on the more experienced side of owning a Synology.

Thanks!


r/synology • • 1d ago

DSM Synology finally did it! Node.js 26 is now in Package Center

73 Upvotes

I noticed an update for Synology Application Service today with a few security fixes. To my surprise, DSM prompted me to install Node.js 26 as a dependency.

Synology seems to have skipped Node.js 24 entirely, jumping straight from 22 to 26. I had been running my web server on Node.js 22 before recently migrating to the latest Node.js Docker image via Container Manager. Getting permissions and DSM integration right took quite a bit of work.

After updating, I was able to uninstall Node.js 22 without any dependency issues.

Unfortunately, Node.js 20 is still required by Synology Photos, Drive Server, and Office. Trying to uninstall it prompts me to remove all three packages. It's a bit concerning that these packages still depend on an EOL version of Node.js that no longer receives upstream security updates. Hopefully, they'll migrate to 26 soon as well.

I know most people here probably don't use native Node.js packages for their own web servers, but for those who prefer them for permissions, performance, or DSM integration, this is great news.

Given how far behind Synology usually is with Node.js versions, seeing them ship the latest LTS just over a month after it became LTS is a really pleasant surprise. Credit where credit is due!


r/synology • • 17h ago

Solved Block container to contact local network but allow to reach Internet ?

1 Upvotes

Hi,

I wanted to do a simple thing but it seems more complicated. I run Wishlist in a docker container, with its specfic docker network. Hosted on my NAS via the embeded container manager app.

I wanted to :

  1. Block connection from wishlist docker to my local network / NAS at least ;
  2. Allow access from wishlist container to Internet.

I tried firewall rules and ACL via the embeded reverse proxy. But I can't specify the destination, it's either all allowed or all blocked...

Do you know how to do that ? Or do I reach kind of limitation of my setup ? How do you expose service on Internet without being tied to your local network ?

PS : Why I want to do that ? Because it's the only service exposed on Internet (through a Syno firewall and the NAS reverse proxy). I wanted to put the container in a DMZ like (no local network access) for obvious security reason. But I need it to reach Internet because of some features (auto fetch pic, price ans title of the item you add in the wishlist).

Thank you for reading :)


r/synology • • 23h ago

DSM Was hit but blocked -- Can trace at all?

3 Upvotes

Hey Syno friends.

Was sent a scary email at 9:05pm this evening.
[NAS_IP] IP address [::1] has been blocked by NAS_NAME via SMB.

Logged in, only see as a perma-blocked address. Any way to trace the route taken to even attempt to login? I thought I was pretty buttoned and zipped up.

Blocked IP - ::1
Location - GeoIP lookup failed

20 mins earlier... looking in my logs -- User [x] from [attack IP] failed to sign in to [DSM] via [password] due to authorization failure.

Just looking for advice after having a full panic attack -- my server holds my extended family's photos from 100+ years. ... maybe have to pull the trigger on a backup server.

Edit : The unplug from the internet was the very first thing I did. Also I recognize I need a backup server. Thank you.
Is there no way nowadays for external personal access? I have a few apps set up that go through cloudflare.


r/synology • • 1d ago

DSM If you are providing public services, see if you have a free copy of virtual DSM

22 Upvotes

With all the concerns I see on here about public services on Synology, I'm surprised I never hear virtual DSM mentioned. For those who haven't heard of it, it is a copy of DSM that runs inside of a virtual machine on your Synology NAS. A NAS inside your NAS. And many of Synology's NAS models come with one free license. If you aren't using it, and if you are providing public services, its definitely something I'd recommend looking into.

To find out if your model has a free copy, go to Synology's website (https://www.synology.com/en-global/products) and check the Software Specs for your model. Under Virtual Machine Manager it'll tell you if you have a free license.

Virtual DSM supports most of what comes on your NAS. So you can install just your public services on there to limit what is exposed. It supports container manager so you can run a container with cloudflared and watchtower. You don't need to open any ports on your router. It supports Hyper Backup, so you can back it up to a cloud service dedicated to just this NAS. (That way you don't risk your compromised virtual DSM from deleting your other backups.)

Speaking of Hyper Backup, you can use that to back up your existing service from your NAS and then restore it to the virtual DSM.

The Virtual Machine Manager that the virtual DSM is running in supports VLAN tagging. So you can throw it in a DMZ VLAN and then lock that down. Your DMZ VLAN doesn't need to be able to reach any of your networking equipment's management interfaces. It doesn't need the ability to initiate a connection to any of your other VLANs. (You'll want to allow return traffic so you can get to the virtual DSM's management port from inside your trusted VLANs.) And definitely use different passwords on it!

Is it 100% safe? Absolutely not. But it's defense in depth. You're limiting your exposure. Work under the assumption that its compromised, and design your network around that.

Sorry if this is well known information. I just hadn't seen people talking about it.


r/synology • • 1d ago

DSM Synology SSH :|

Thumbnail
nsa.gov
101 Upvotes
ssh -V
OpenSSH_8.2p1, OpenSSL 1.1.1w  11 Sep 2023

Post quantum crypto came out in OpenSSH 8.5, but 9.9 is needed for the version that NIST suggest actually running mlkem768x25519-sha256.

Latest DSM version available.

This doesn't strike me as the sort of decisions that a company that cares about security would make running security software that EOL 2023 in 2026.


r/synology • • 19h ago

Cloud Very slow transfer speeds from Bangkok to Canada Synology DS1621+

Thumbnail reddit.com
0 Upvotes