How to create a NFS share on a Synology NAS and mount it on a linux client machine using the guest account for all users.
Synology NAS steps
- Enable NFS in control panel > file services
- Create share in Control Panel > Shared Folder e.g, public
- Set NFS Permissions
- Hostname * (allow all hosts to connect)
- Privilege Read/Write
- Squash map all users to guest
- security sys
- Enable asynchronus
- Allow connections from non-privileged ports
- Enable the guest user account and ensure it has r/w access to the share
Linux client steps
Install the nfs client if not already installed
- sudo apt update
- sudo apt install nfs-common
- mkdir /mnt/public
Mount the drive. NB use the share path as shown in the control panel e.g. /volume1/public
- sudo mount -t nfs 192.168.76.38:/volume1/public /mnt/public
No comments:
Post a Comment