How can I limit the network traffic of DSM services?
How can I limit the network traffic of DSM services?
Purpose
This article lists the different methods you can use to limit network use by Synology packages and services, and shows which methods are available for a number of DSM packages or services.
Resolution
Definitions
Type
|
Direction
|
---|---|
Outbound traffic
|
from Synology NAS to client
|
Inbound traffic
|
from client to Synology NAS
|
Methods
There are four methods to limit bandwidth for packages or services. Different packages and services support different methods.
User speed limit:
Limit both the outbound and inbound bandwidth of certain packages for each user individually.
- Go to Control Panel > User & Group > User (for DSM 7.0) or Control Panel > User (for DSM 6.2).
- Select a user and click Edit.
- Go to Speed Limit.
- Select an application and under Speed limit, choose from the following settings:
- Apply group settings: Use the default speed limits for the group.
- Set up speed cap: Specify an Upload Limit and Download Limit in KB/s.
- Advanced settings: Select this option to set speed limits on specific hours of the day.
- Apply group settings: Use the default speed limits for the group.
- Set up speed cap: Specify an Upload Limit and Download Limit in KB/s.
- Customize limit range: Select this option and then click Customize to set speed limits on specific hours of the day.
- Click Save (for DSM 7.0) or OK (for DSM 6.2) to apply the settings.
For DSM 7.0:
For DSM 6.2:
Group speed limit:
Limit both the outbound and inbound bandwidth of certain packages for user groups. When user speed limits are higher than group speed limits, group speed limits prevail.
- Go to Control Panel > User & Group > Group (for DSM 7.0) or Control Panel > Group (for DSM 6.2).
- Select a group and click Edit.
- Go to Speed Limit.
- Select an application and under Speed limit, choose from the following settings:
- Set up speed cap: Specify an Upload Limit and Download Limit in KB/s.
- Advanced settings: Select this option to set speed limits on specific hours of the day.
- None: Let individual user speed limits prevail.
- Set up speed cap: Specify an Upload Limit and Download Limit in KB/s.
- Customize limit range: Select this option and then click Customize to set speed limits on specific hours of the day.
- Click Save (for DSM 7.0) or OK (for DSM 6.2) to apply the settings.
For DSM 7.0:
For DSM 6.2:
Traffic control:
Limit outbound bandwidth for certain packages, services, and protocols using network settings.
- Go to Control Panel > Network > Traffic Control.
- Click Create and tick Select from a list of built-in applications.
- Click Select, tick one or more packages, services, or protocols, and click OK.
- Enter a Guaranteed Bandwidth3 and a Maximum Bandwidth in KB/s and click OK.
Application UI:
Several packages and services offer built-in inbound or outbound traffic limitation methods. Steps can be found in the relevant help articles.
Notes:
Software packages
The table below shows whether you can use above options to limit inbound bandwidth (I), outbound bandwidth (O), or both inbound and outbound bandwidth.
Type
|
Speed Limit
|
Application UI
|
Traffic Control
|
---|---|---|---|
Active Backup for Business (PC, Physical Server)
|
-
|
I
|
O1
|
Active Backup for Business (File Server)
|
-
|
-
|
O2
|
Active Backup for Business (VMware)
|
-
|
-
|
O3
|
Active Backup for Business (Hyper-V)
|
-
|
-
|
O4
|
Active Backup for Google Workspace
|
-
|
-
|
-
|
Active Backup for Microsoft 365
|
-
|
-
|
-
|
Cloud Station
|
I + O
|
-
|
-
|
Cloud Sync
|
-
|
I + O
|
-
|
File Station
|
I + O
|
-
|
-
|
File Station (Shared link)
|
-
|
-
|
-
|
Download Station (BT, eMule)
|
-
|
I + O
|
-
|
Download Station (other protocols)
|
-
|
I
|
-
|
Hybrid Share
|
-
|
-
|
O
|
Hyper Backup (rsync / C2 Storage)
|
-
|
I + O5
|
O6
|
Hyper Backup (other tasks)
|
-
|
-
|
O7
|
Hyper Backup Vault
|
-
|
-
|
O
|
Moments
|
-
|
-
|
O13
|
Presto File Server
|
-
|
I + O
|
-
|
Photo Station
|
-
|
-
|
O8
|
Snapshot Replication (replicate)
|
-
|
-
|
O9
|
Surveillance Station
|
-
|
-
|
O
|
Surveillance Station (Archive Vault)
|
-
|
I
|
-
|
Synology Drive Server
|
I + O10
|
-
|
-
|
Synology Photos
|
O14
|
||
Video Station
|
-
|
-
|
|
WebDAV Server
|
I + O
|
-
|
-
|
File transfer protocols
The table below shows whether you can use above options to limit inbound bandwidth (I), outbound bandwidth (O), or both inbound and outbound bandwidth.
Type
|
Speed Limit
|
Application UI
|
Traffic Control
|
---|---|---|---|
AFP
|
-
|
-
|
O
|
CIFS/SMB
|
-
|
-
|
O
|
FTP/FTPS
|
I + O
|
I + O
|
O
|
NFS
|
-
|
-
|
O
|
rsync / Shared folder Sync
|
I + O11
|
I + O11
|
O6
|
SFTP
|
I + O
|
I + O
|
O12
|
TFTP
|
-
|
-
|
O
|
Notes:
- The limit affects only restore by Recovery Wizard. Select Active Backup for Business in built-in applications list.
- The limit affects only backup restoration. Select Windows File Server or rsync in built-in applications list.
- The limit affects only backup restoration. Go to Custom, select Destination port, and enter port 902 (TCP).
- The limit affects only backup restoration. Select Active Backup for Business in built-in applications list.
- Go to Hyper Backup > Task Settings > Settings, and under Bandwidth Limitation enter a traffic limit.
- Select rsync in built-in applications list. (Select Encrypted terminal service if using encrypted rsync.)
- Go to Custom, select Destination port, and enter the port for a backup task. For example, enter port 6281 (TCP) for remote NAS backup or port 443 (TCP) for WebDAV backup. Other services using the same port will be affected.
- Go to Custom, select Destination port, and enter ports 80 and 443 (TCP). Other services using the same ports will be affected.
- In DSM 6.2 and earlier, go to Custom, select Destination port, and enter ports 5566 and 3261(TCP). In DSM 7.0 and above, select service name in the Select Built-in Applications list.
- Upload limit means from client to Synology NAS.
- Only available when Synology is configured as an rsync server.
- Go to the Select Built-in Applications list and select Encrypted terminal service.
- Go to Custom, select Destination port, and enter ports 5000 and 5001 (TCP). If you've configured the customized port of Moments (In Control Panel > Application Portal > Moments > General > Enable customized port (HTTP) / Enable customized port (HTTPS)), please enter the corresponding ports instead. Other services using the same ports will be affected.
- Go to Custom, select Destination port, and enter ports 5000 and 5001 (TCP). If you've configured the customized port of Synology Photos (In Login Portal > Applications > Synology Photos > Customized port (HTTP) / Customized port (HTTPS)), please enter the corresponding ports instead. Other services using the same ports will be affected.