In a production environment run pf-Sense on bare metal or an appliance from Netgate. Same for FreeNAS since ZFS wants to see raw devices, it is both device and file manager. Go to the respective web sites read the docs and blog posts. Lots of excellent videos on youtube as well.