請教一下各位
小弟的 NAS 是 QNAP TS-409 (不是 Pro)
最近有需求需要 NFS 的功能
但這只有 Pro 才有
如果需要 NFS 功能是否有改機的方法或是有 PKG 可以安裝
感謝各位幫忙,謝謝
whilst adjusting my tinfoil hat i felt the need to lock down the NFS shares to specific IP addresses, not just "*" which allows any IP address to connect...
i got this working as described below...
Let's say you edited your /etc/config/nfssetting file like so:
[Access]
/share = rw
/share/MD0_DATA/rick = rw
And now let's say you want to restrict access to the "rick" share to IP addresses in the range 192.168.2.1 to 192.168.2.9 then you just need to add the following to /etc/config/nfssetting:
[AllowIP]
/share/MD0_DATA/rick = 192.168.2.1/9
So you will end up with your file looking like this:
Code: Select all
[Access]
/share = rw
/share/MD0_DATA/rick = rw
[AllowIP]
/share/MD0_DATA/rick = 192.168.2.1/9
Just restart nfs as described above and you should be in business.
內文搜尋

X