How to limit nfs share to specific network

Discussion about using NAS on Linux and Unix OS.
Post Reply
ilia987
New here
Posts: 6
Joined: Sat Mar 09, 2019 5:55 pm

How to limit nfs share to specific network

Post by ilia987 » Thu May 23, 2019 11:02 pm

i have qnap ts-879u-rp that is connected to two different networks.
i trying to create nfs share and to set it visible on only one network.

but after i set "Shared folder Permission and set ip/mask " the nfs is still visible on both networks via showmount -e

User avatar
Don
Guru
Posts: 11959
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York
Contact:

Re: How to limit nfs share to specific network

Post by Don » Thu May 23, 2019 11:19 pm

Use protocol binding.
Read the Online Manuals and use the forum search feature before posting.

It is a recommended to use RAID and have external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

Submit bugs and feature requests to QNAP via their Helpdesk app.

NAS: TVS-882BR | F/W: 4.3.6.0895 | 40GB | 2 x M.2 SATA RAID 1 (System/VMs) | 4 x M.2 NMVe QM2-4P-384A RAID 5 (Cache) | 5 x 4TB HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-663 | F/W: 4.3.6.0993 | 16GB | 2 x M.2 NMVe QM2-2P RAID 1 (Cache) | 4 x 4TB RAID 5
Apps: Boinc, Squid, DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS, Entware, DLstation, +others

User avatar
storageman
Experience counts
Posts: 4809
Joined: Thu Sep 22, 2011 10:57 pm

Re: How to limit nfs share to specific network

Post by storageman » Thu May 23, 2019 11:48 pm

Control Panel, Network Access, Service Binding

Don, He might be looking for a long time to find what you mean! :wink:

User avatar
Don
Guru
Posts: 11959
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York
Contact:

Re: How to limit nfs share to specific network

Post by Don » Thu May 23, 2019 11:51 pm

Yeah when not sitting in front of the interface I don’t remember the exact wording on everything.
Read the Online Manuals and use the forum search feature before posting.

It is a recommended to use RAID and have external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

Submit bugs and feature requests to QNAP via their Helpdesk app.

NAS: TVS-882BR | F/W: 4.3.6.0895 | 40GB | 2 x M.2 SATA RAID 1 (System/VMs) | 4 x M.2 NMVe QM2-4P-384A RAID 5 (Cache) | 5 x 4TB HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-663 | F/W: 4.3.6.0993 | 16GB | 2 x M.2 NMVe QM2-2P RAID 1 (Cache) | 4 x 4TB RAID 5
Apps: Boinc, Squid, DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS, Entware, DLstation, +others

ilia987
New here
Posts: 6
Joined: Sat Mar 09, 2019 5:55 pm

Re: How to limit nfs share to specific network

Post by ilia987 » Wed Jun 12, 2019 7:21 pm

i don't want to hide all nfs shares only a specific one

ilia987
New here
Posts: 6
Joined: Sat Mar 09, 2019 5:55 pm

Re: How to limit nfs share to specific network

Post by ilia987 » Thu Jul 04, 2019 8:07 pm

anyone ?

User avatar
storageman
Experience counts
Posts: 4809
Joined: Thu Sep 22, 2011 10:57 pm

Re: How to limit nfs share to specific network

Post by storageman » Thu Jul 04, 2019 9:17 pm

CP, Shared Folders, Edit properties, Hide Network Drive, no?

ilia987
New here
Posts: 6
Joined: Sat Mar 09, 2019 5:55 pm

Re: How to limit nfs share to specific network

Post by ilia987 » Thu Jul 04, 2019 11:00 pm

if its hidden it is still there, just not shown under showmount,
i want it to be visible and accessible for one network only,
currently i added access for the specific network, but it is visible to all

User avatar
storageman
Experience counts
Posts: 4809
Joined: Thu Sep 22, 2011 10:57 pm

Re: How to limit nfs share to specific network

Post by storageman » Thu Jul 04, 2019 11:15 pm

Hmm, don't know how to do that.
How about making it only writable via FTP and turn off FTP on the other port?
Otherwise only way I can think of is using ISCSI but I doubt that's what you want.
Maybe somebody else has suggestions.

Post Reply

Return to “Linux & Unix (NFS)”