Skip to content

Instantly share code, notes, and snippets.

@zupo
Last active December 2, 2025 17:39
Show Gist options
  • Select an option

  • Save zupo/852c0aceeaeb9ba3fe68c7d58b413895 to your computer and use it in GitHub Desktop.

Select an option

Save zupo/852c0aceeaeb9ba3fe68c7d58b413895 to your computer and use it in GitHub Desktop.
Synology NAS with DSM 7.1 that starts iperf3 at startup

Synology NAS with DSM 7.1 that starts iperf3 at startup

I wanted to run iperf3 on my Synology NAS to monitor WiFi speeds on different devices around my location.

Steps to install iperf3 are:

  1. Follow https://synocommunity.com/#easy-install to install SynoCommunity package repository.
  2. Log into DSM, Package Center -> Community -> SynoCli Monitor Tools -> Install.
  3. Temporarily enable SSH via Control Panel -> Terminal -> Enable SSH Service
  4. SSH into the NAS:
$ sudo vim /etc/systemd/system/iperf3.service
[Unit]
Description=Run iperf3 at startup
[Service]
Type=simple
ExecStart=/usr/local/bin/iperf3 -s

[Install]
WantedBy=multi-user.target

$ sudo systemctl start iperf3.service
$ sudo systemctl status iperf3.service
$ sudo systemctl enable iperf3.service
  1. Disable SSH via Control Panel -> Terminal -> uncheck Enable SSH Service

Now you can run the following on your local machine: iperf3 -c <NAS_IP>

@gllyons
Copy link

gllyons commented Nov 26, 2025

Thanks!

@mikhail-fedosenko
Copy link

turned out this won't work after reboot :(
Resolved with built-in Synology NAS DSM 7 Task scheduler. Works flawlessly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment