I recently setup 12 inside a FreeBSD jail in order to allow me access to files I might need while at University. I figured this would be a optimal solution for files that I might need access to unexpectedly, on computers where I am not in complete control. My Nextcloud instance is externally accessible, and yet if someone were to get inside my Jail, I could rest easy knowing they still didn’t have access to the rest of my host server. I chronicled the setup process including jail setup using, https with, and full setup of the web stack.
![Bsd Jails Tutorial Bsd Jails Tutorial](https://community-cdn-digitalocean-com.global.ssl.fastly.net/assets/tutorials/images/large/get_started_freeBSD_tw.png?1426699798)
![Bsd Bsd](/uploads/1/2/5/3/125381924/501298161.jpg)
Jails have their own set of users and their own root account which are limited to the jail environment. The root account of a jail is not allowed to perform operations to the system outside of the associated jail environment.
Full tutorial.