NFS exports with wildcard domains

Hello,

I have a very simple automated system at home where all my servers and computers get assigned domains based on their type (for example all workstations follow the hostname.ws.lan naming convention, servers are hostname.srv.lan, etc.). Since I already have this domain-based organization in place I would like to know if there's a way to assign NFS export access based on the domain prefix, making the permission scheme a lot simpler. I've tried this under FreeBSD 13.2-RELEASE, but it didn't work:

Code:
/export/wsstuff        *.ws.lan
/export/srvstuff       *.srv.lan

The NFS export can only be mounted if the full domain name of each client is specified. I've tried this on clients running Debian 11 and FreeBSD 13.2.

Any suggestions of what I might be missing or any other strategies that I can use in order to get the intended functionality?

Best Regards,
Nathan Campos
 
Welcome to the FreeBSD forums, Nathan! I don’t see no sec=krb5p or tls options. Does your setup take other precautions against eavesdropping? If not, what’s the benefit of restricting two separate exports?
 
Back
Top