Dear FreeBSD Community!
I'm planning to setup a NAS (for my family, a mix of Windows, Linux and Mac OS Clients) in a jail on my FreeBSD machine (which should replace my actual Linux-based homeserver step by step). So I prepared a jail with it's own IP, set up samba and joined our Active Directory - almost without problems.
So far so good. Next step: NFS
As I read in forums and mailing-list archives, it's not possible to run an NFS-server inside a jail. There would be net/unfs3, but I would like to run NFSv4. So I thought about serving NFS from the host on the IP of the nas-jail. The thing I'm not sure about with this workaround is how to setup kerberos properly, resp. if it is even possible to setup kerberos for such a setup.
Can anybody tell if/how this could work? Where do I setup the kerberos nfs principals - on the host, the jail, both?
Or would it be better to do a whole different setup?
Thanks in advance
I'm planning to setup a NAS (for my family, a mix of Windows, Linux and Mac OS Clients) in a jail on my FreeBSD machine (which should replace my actual Linux-based homeserver step by step). So I prepared a jail with it's own IP, set up samba and joined our Active Directory - almost without problems.
So far so good. Next step: NFS
As I read in forums and mailing-list archives, it's not possible to run an NFS-server inside a jail. There would be net/unfs3, but I would like to run NFSv4. So I thought about serving NFS from the host on the IP of the nas-jail. The thing I'm not sure about with this workaround is how to setup kerberos properly, resp. if it is even possible to setup kerberos for such a setup.
Code:
+-----------------------+
| Host |
| 192.168.1.2 |
| |
| NFS @ 192.168.1.3 |
| |
|+---------------------+|
|| NAS ||
|| 192.168.1.3 ||
|| ||
|| SAMBA @ 192.168.1.3 ||
|+---------------------+|
+-----------------------+
Can anybody tell if/how this could work? Where do I setup the kerberos nfs principals - on the host, the jail, both?
Or would it be better to do a whole different setup?
Thanks in advance