====== Synology DiskStation NAS ====== See also **[[computing:storage:synology_diskstation_apps|Synology DiskStation Applications]]** **Home**: https://www.synology.com/en-us/ **Wiki**: http://forum.synology.com/wiki/index.php/Contents **Forum**: http://forum.synology.com/enu/ **Help**: https://help.synology.com/dsm/ **Download Add ons** https://www.synology.com/en-us/support/download/DS214+ **YouTube Channel**: https://www.youtube.com/user/synologyinc/videos **QuickConnect Explained**: https://blog.synology.com/?p=2283 **CLI Admin Guide**: https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_DiskStation_Administration_CLI_Guide.pdf **DSM 7 User Guide**: https://global.download.synology.com/download/Document/Software/UserGuide/Os/DSM/7.0/enu/Syno_UsersGuide_NAServer_7.0_enu.pdf **Synology KnowledgeBase**: https://kb.synology.com ===== Schedule a Reboot ===== Log in via SSH, then: sudo shutdown -r 18:30 & ===== Installation ===== * **Populate DiskStation with drives** on the [[https://www.synology.com/en-us/compatibility?search_by=category&category=hdds&p=1|Synology compatibility list]] * **Install the latest DiskStation Manager** (DSM) * [[https://global.download.synology.com/download/Document/HIG/DiskStation/18-year/DS218j/Syno_HIG_DS218j_enu.pdf|Hardware Installation Guide]] * **Update all packages** * [[https://global.download.synology.com/download/Document/UserGuide/DSM/6.1/Syno_UsersGuide_NAServer_enu.pdf|User Guide]] * Use a browser to **install DSM OS** * ''find.synology.com'' with Internet access * ''diskstation:5000'' without Internet access :!: Using the Internet install it took about 10 minutes. ===== Enable Services ===== ==== SSH Access ==== * Control Panel -> Applications -> Terminal & SNMP -> Enable SSH service -> Advanced (you may need to change ecryption level) * Use ''admin'' user and password * Use ''sudo'' or ''sudo -i'' for a root shell ==== DHCP Server ==== * Control Panel -> Connectivity -> Network -> DHCP Server -> Enable DHCP Server ==== VPN Server ==== https://help.synology.com/dsm/?section=VPNCenter&version=1.2&link=vpn_setup.html === PPTP VPN Server === * Install the VPN Server Package from Main Menu -> Package Center * PPTP -> Enable PPTP VPN server * Enter IP address range to be handed out to VPN Interface on client -> Apply ==== FTP Server ==== * Control Panel -> File Services -> FTP -> Enable FTP service SSL/TLS ... -> Apply :!: If you have trouble behind NAT use SFTP on server and client, change and forward port 2222 :!: If you scroll to the bottom -> Advanced you can set root folder for users ==== Backup ==== https://originhelp.synology.com/dsm/?section=DSM&version=5.2&link=BackupApp%2FBackupApp_desc.html https://www.broadbandbuyer.co.uk/features/2629-how-to-back-up-your-synology-nas-device-data-with-time-backup/ :!: Versioning and deduplication is not supported on local USB/ESATA backups using Backup & Replication. Install "Time Backup" add on from Package Center. :!: Limitation of "Time Backup" is that it only backs up an entire volume/share. Not single folders. === Restore from Time Backup === * Open Time Backup from Main Menu (this will open another browser Window/Tab) * On the Timeline Tab versions are displayed in cascading windows with date/time labels (20150818-2200 = 8/8/15 10PM). * Only one label is visible at a time. Clicking on the Windows will bring them to the front/visible. * Double Click Folder/Volume to drill down to item to restore -> Action -> Restore -> Rename or overwrite if exists are the only options for Restore. * There is a "Download" option under Action to save restored data to workstation. :!: You should be able to also select versions with the timeline bar (dragging) at the bottom. :!: For help with Time Backup click the ? in the upper right hand corner of the Time Backup Window/Tab. ==== CloudStation File Sync ==== === Enable CloudStation === https://www.youtube.com/watch?v=kZX8XK9Wy2Y - Go to **Package Center -> Cloud Station -> Install** - **Launch Cloud Station**. - **Enable the user home feature** -> OK - Continue with **User Settings -> Enable user homes -> Apply** - Go back to **Cloud Station -> enable -> Yes** - Go to **Privileges -> specify which users will be able to use Cloud Station -> Save** ==== Access over the Internet ==== https://www.synology.com/en-us/knowledgebase/faq/299 === Forward Ports === |CloudStation |6690 |TCP | |DS Photo |80,443 |TCP | |DS Audio |5000-5001 |TCP | |DS Cam |5000-5001 |TCP | |DS File |5000-5001 |TCP | |DS Finder |5000-5001 |TCP | |DS Video |5000-5001 |TCP | |DS Download |5000-5001 |TCP | |DS Cloud |5000-5001 |TCP | |DS Note |5000-5001 |TCP | :!: Setup QuickConnect to bypass port forward === QuickConnect === - Go to Control Panel -> QuickConnect. - Check the Enable QuickConnect box. - If you do not have a Synology Account, click Log in to or register a Synology Account. Enter the required information and click OK. If you already have a Synology Account, enter your account information. - Create your own QuickConnect ID in the QuickConnect ID field. Then click Apply. - Your QuickConnect link information will appear. Use these links to access your Synology NAS. - If you do not see the QuickConnect DSM link, click Advanced and make sure DSM is enabled. - You can now use the QuickConnect DSM link to access your Synology NAS! **Disk Station Manager**: http://QuickConnect.to/YourQuickConnectID **Photo Station**: http://QuickConnect.to/YourQuickConnectID/photo **Cloud Station clients and Mobile devices use**: YourQuickConnectID === CloudStation Clients === Video Tutorials https://www.synology.com/en-us/knowledgebase/?query=cloud%20station&category=All&orderby=rank&page=1#tab_search :!: CloudStation can also be accessed via browser. See text above. - Go to Cloud Station > Overview and click the Computers button. - Click the button to download Cloud Station for your operating system. (You can also download Cloud Station from the Synology Download Center.) https://www.synology.com/en-us/support/download === Windows Client === - Launch the installer on your computer and follow the onscreen instructions. ==== Printers ==== **Share a Printer**: https://www.synology.com/en-us/knowledgebase/DSM/help/DSM/AdminCenter/system_externaldevice_printer **Share an MFP**: https://www.synology.com/en-us/knowledgebase/DSM/tutorial/Printer/How_to_set_up_and_use_a_multifunctional_printer_shared_by_Synology_NAS ===== Config Files ===== :!: May be dated... /etc/ssh/sshd_config,sshd /etc.defaults/ssh/sshd_config,sshd-defaults /etc/php/php.ini,php /etc.defaults/php/php.ini,php-defaults /usr/local/etc/php56/php.ini,php56 /usr/local/etc/httpd/conf/httpd.conf,Apache /etc/httpd/logs/user-error_log,Apache-User Error Log /etc/httpd/logs/sys-error_log,Apache-Sys Error Log /usr/syno/etc/smb.conf,samba Daemon /usr/syno/etc.defaults/smb.conf,samba Daemon-defaults /etc/inetd.conf, inetd.conf /etc.defaults/inetd.conf, inetd.conf-defaults /etc/profile,profile /etc.defaults/profile,profile-defaults /etc/hosts,hosts /etc.defaults/hosts,hosts-defaults /etc/crontab,crontab /etc.defaults/crontab,crontab-defaults /var/packages/MailServer/target/etc/template/main.template,Mail-postfix /var/packages/MailServer/target/etc/template/dovecot.template,Mail-dovecot /usr/syno/avahi/avahi-daemon.conf,avahi /etc/fstab,fstab /etc.defaults/fstab,fstab-defaults /etc/httpd/sites-enabled-user/httpd-vhost.conf-user,V-Host /etc/httpd/sites-enabled-user/httpd-ssl-vhost.conf-user,V-Host SSL