wp.jochen.hayek.name/blog-en

Synology router “RT1900ac” as an NFS server

/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 noauto,nouser,dev,exec,suid,hard,rw,bg,sec=sys 0 0

Maybe you want to replace SynologyRouter with its one of its internal IP addresses like 192.168.1.1.

The device service can out of the box serve as a CIFS and Apple file server, but despite it’s sisterhood to the Synology DiskStations the GUI is not prepared to make use of the NFS server. Yet on the command line you can achieve it.

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.

Yes, we have to open the router’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 “our device” locally i.e. within my LAN. Of course nfsd must not be accessible on the WAN port but only on the LAN ports incl. wifi (Source IP / Specific IP / Select / Subnet / …). I will explain that here a little later.

Exit mobile version