I wanted to run iperf3 on my Synology NAS to monitor WiFi speeds on different devices around my location.
Steps to install iperf3 are:
- Follow https://synocommunity.com/#easy-install to install SynoCommunity package repository.
- Log into DSM, Package Center -> Community -> SynoCli Monitor Tools -> Install.
- Temporarily enable SSH via Control Panel -> Terminal -> Enable SSH Service
- 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
- Disable SSH via Control Panel -> Terminal -> uncheck Enable SSH Service
Now you can run the following on your local machine: iperf3 -c <NAS_IP>
Very useful, 3x