yquirion
Members
-
Joined
-
Last visited
Solutions
-
yquirion's post in Access SMB shares based on client IP address was marked as the answerHi @Frank1940,
Sorry for the late reply.
Thank you for your time answering my question. Based on what you said, I made it working by using the /boot/config/smb-extra.conf fille. Here is how that file looks like:
[Media] hosts allow = 192.168.112.0/24 path = /mnt/user/Media [nfs] hosts allow = 192.168.112.0/24 path = /mnt/nfs [data] hosts allow = 192.168.112.0/24 path = /mnt/user/data [home] hosts allow = 192.168.2.0/24 path = /mnt/user/home
I didn't have to use the smb-extra.conf file. Just creating that file into /boot/config makes it working, even if I restart the server, it continue to works.
However that would be nice to have that option into the share configucation page from the GUI.
Thank you again for your time and best regards,
Yanick