- NAS to router / ethernet
- NAS to UPS / power cable
- NAS to UPS / USB cable
Assign NAS a static IP address on your router. I have a Fios G3100. For me the steps are:
- Log in to the router.
- Switch to the Advanced tab.
- Network Settings > IPv4 Address Distribution
- SynologyNAS > Edit
- Static Lease Type = True / checked
Create a Synology account prior to starting.
- In a browser, go to: https://find.synology.com
- Verify info & click Connect - IP should match static assigned in previous step.
- Accept User Agreement. Next.
- Review Privacy Statement. Continue.
- Web Assistant loads. Setup.
- Install DSM. Takes about 10 minutes. NAS will beep during.
- Welcome screen loads. Start.
- Create device name + admin account.
- Update option = Automatically install important...
- Optional: Sign in to Synology account.
- Skip Quick Connect.
- Other Tools: enable both Active Insights and DSM Configuration Backup.
- Create a Storage Pool & Volume.
- Create Pool = MainPool
- RAID = SHR because we'll be adding drives in the future.
- Select both drives.
- Perform drive check.
- Create Volume = MainVolume. Use BTFS file system.
- Confirm and Apply. Wait for the Pool + Volume to finish optimizing - about 90 minutes.
- DSM > Control Panel > Shared Folder.
- Set name, description, permissions.
- DSM > Control Panel > Shared Folder. Create a new directory to store reports.
- DSM > Package Center > Install Storage Analyzer.
- Open and follow prompts to configure.
- See video for step-by-step: https://youtu.be/MyQy4Wj679A?t=534
- Control Panel > User & Group > Advanced tab
- Enable user home service = True/checked
- Apply
- Control Panel > Shared Folder
- homes > Edit
- Hide sub-folders from users without permissions = True/checked
- Enable Recycle Bin = True/checked
- Save
- DSM > Storage Manager
- In the left panel, select a storage pool - Storage Pool 1.
- Click Schedule Data Scrubbing - a dialog opens.
- Enable data scrubbing schedule = True/checked
- The correct pool should already be selected.
- Frequency = Repeat Monthly
- Optional - Run data scrubbing only during specific periods
- Save
- DSM > Storage Manager
- In the left panel, select a volume - Volume 1
- On the main screen, in the Volume 1 section, click the *** menu > Settings
- Record File Access Time Frequency = Never
- DSM > Package Center
- Install Snapshot Replication and open app
- In the left panel, select Snapshots
- A list of directories is displayed. For each:
- Click the Settings button
- Schedule tab
- Enable Snapshot Schedule = True/checked
- Set a schedule that's appropriate
- Retention tab
- Enable Retention Policy = True/checked
- Keep all snapshots for = 7 days
- DSM > Control Panel > Task Scheduler
- Create > Schedule Task > Recycle Bin
- General tab
- Task Name = Empty recycle bins
- Enabled = True/checked
- Schedule tab
- Run on the following days = Daily
- Frequency = Every day
- Task Setting tab
- Empty all Recycle Bins = True
- Number of days to retain deleted files = 7
- OK
- Connect NAS to UPS using the provided USB cable and power cord.
- DSM > Control Panel > Hardware & Power > UPS tab
- Enable UPS Support = True/checked
- UPS Type = USB USP
- Customize Time = 5 minutes
- Apply
- DSM > Control Panel > Regional Options
- Time tab - set
- Language tab - set
- NTP Service tab - not enabled
- DSM > Control Panel > Update & Restore > DSM Update tab
- Click Update Settings - a dialog opens
- Select an update option - I selected the recommended option
- Set a Check Schedule
- OK
- DSM > Control Panel > Security > Protection tab
- Enable Auto-Block = True/checked
- Login Attempts = 10
- Within Minutes = 5
- Enable Block Expiration = True/checked
- Unlock After Days = 1
- Enable DoS Protection = True/checked
- Apply
- Enable Auto-Block = True/checked
I don't recommend QR code 2FA - reference only. If you do use 2FA, be sure to set the NAS time to match the time used on your devices.
- DSM > User menu (upper-right) > Personal > Account tab
- Sign-in Method = 2 Factor Authentication
- Follow prompts
- DSM > Control Panel > Login Portal > DSM tab
- Change DSM Port (HTTP) to 7080
- Change DSM Port (HTTPS) to 7043
- Automatically redirect HTTP to HTTPS = True
- Save
- Wait a minute for server to restart
Sign in to DSM from: http://192.168.1.209:7043
TODO: https://www.youtube.com/watch?v=wXCYEby3FJ8
- DSM > Package Center
- Settings button > Package Sources tab > Add
- Name = SynoCommunity
- Location = https://packages.synocommunity.com/
- OK
- A Community tab is added to Package Center
Nano, dig, and other common Linux utilities.
- DSM > Package Center > Community tah
- Search for and install SynoCli Tools
- Accept the 3rd party warning
# SynoCli File Tools
less, tree, ncdu, jdupes, rhash, mc (midnight-commander),
nano, file, detox, rmlint, rnm, pcre2, zstd
# SynoCli Network Tools
screen, tmux, socat, nmap, arp-scan, mtr, links, rsync,
autossh, etherwake, telenet, whois, arpaname, delv, dig,
mdig, sshfs, ser2net
See Network Reference for a list of initial firewall rules.
I create a rule for each port - vs opening multiple ports with a single rule. This simplifies testing and management.
- DSM > Control Panel > Security > Firewall
- Enable Firewall = True
- Enable Firewall Notifications = True
- Firewall Profile = Default > Edit Rules - dialog opens
- Create > Ports > Custom Port
# Origin port - Protocol - NAS IP - NAS port
80 TCP 192.168.1.209 80
443 TCP 192.168.1.209 443