{"id":5884,"date":"2015-12-24T02:38:25","date_gmt":"2015-12-24T01:38:25","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/hayek\/jochen\/wp\/blog-en\/?p=5884"},"modified":"2015-12-24T02:38:25","modified_gmt":"2015-12-24T01:38:25","slug":"synology-router-rt1900ac-as-an-nfs-server","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2015\/12\/24\/synology-router-rt1900ac-as-an-nfs-server\/","title":{"rendered":"Synology router \u201cRT1900ac\u201d as an NFS server"},"content":{"rendered":"<ul>\n<li><a href=\"https:\/\/www.synology.com\/en-global\/products\/RT1900ac\">https:\/\/www.synology.com\/en-global\/products\/RT1900ac<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Network_File_System\">https:\/\/en.wikipedia.org\/wiki\/Network_File_System<\/a>\u00a0AKA NFS<\/li>\n<li>\/etc\/init\/nfsd-adapter.conf \u2013\u00a0read\u00a0it, and find out how to start and stop the NFS daemon \u2013 it is rather, rather simple, honestly!<\/li>\n<li>\/etc\/exports \u2013 all this is on <strong>one<\/strong> line in your file:<\/li>\n<\/ul>\n<pre>\/volumeUSB5\/usbshare *(rw,async,no_wdelay,crossmnt,insecure,no_root_squash,insecure_locks,sec=sys,anonuid=1025,anongid=100)<\/pre>\n<p>The \/etc\/fstab entry looks like this (again: all this is on <strong>one<\/strong> line in your file):<\/p>\n<pre>SynologyRouter:\/volumeUSB5\/usbshare \/media\/synologyrouter nfs4 noauto,nouser,dev,exec,suid,hard,rw,bg,sec=sys 0 0<\/pre>\n<p>Maybe you want to replace SynologyRouter with its one of its internal IP addresses like 192.168.1.1.<\/p>\n<p>The device service can out of the box serve as a CIFS and Apple file server, but despite it&#8217;s sisterhood to the Synology DiskStations the GUI\u00a0is not prepared to make use of the NFS server. Yet on the command line you can achieve it.<\/p>\n<p>I attached a hard disk through USB-2 (it appears as \/volumeUSB5\/usbshare), and made it available via \/etc\/exports. USB-2 has its limitations, but this set-up works perfectly for my needs.<\/p>\n<p>Yes, we have to open the router&#8217;s firewall in order to let NFS communication through. I am currently a little relaxed w.r.t. opening the firewall, because I am running &#8220;our device&#8221; locally i.e. within my LAN. Of course nfsd must\u00a0not be accessible on the WAN port but only on the LAN ports incl. wifi (Source IP \/ Specific IP \/ Select \/ Subnet \/ \u2026). I will explain that here a little later.\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.synology.com\/en-global\/products\/RT1900ac https:\/\/en.wikipedia.org\/wiki\/Network_File_System\u00a0AKA NFS \/etc\/init\/nfsd-adapter.conf \u2013\u00a0read\u00a0it, and find out how to start and stop the NFS daemon \u2013 it is rather, rather simple, honestly! \/etc\/exports \u2013 all this is on one line in your file: \/volumeUSB5\/usbshare *(rw,async,no_wdelay,crossmnt,insecure,no_root_squash,insecure_locks,sec=sys,anonuid=1025,anongid=100) The \/etc\/fstab entry looks like this (again: all this is on one line in your file): SynologyRouter:\/volumeUSB5\/usbshare \/media\/synologyrouter nfs4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[575],"tags":[1276],"class_list":["post-5884","post","type-post","status-publish","format-standard","hentry","category-synology","tag-rt1900ac"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-1wU","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/5884","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=5884"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/5884\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=5884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=5884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=5884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}